* as/link/lkar.h: sgetl and sputl are independent of endianness
[fw/sdcc] / device / lib / sincosf.c
index 90aca4af8077556c221c0e6cb5e444236da7d481..e4750e454bf184379bf133174ea7ae0cec29b488 100644 (file)
@@ -66,7 +66,7 @@ float sincosf(const float x, const int iscos)
     N=((y*iPI)+0.5); /*y is positive*/
 
     /*If N is odd change sign*/
-    if(N&1) sign=~sign;
+    if(N&1) sign=!sign;
 
     XN=N;
     /*Cosine required? (is done here to keep accuracy)*/