projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* as/link/lkar.h: sgetl and sputl are independent of endianness
[fw/sdcc]
/
device
/
lib
/
sincosf.c
diff --git
a/device/lib/sincosf.c
b/device/lib/sincosf.c
index 90aca4af8077556c221c0e6cb5e444236da7d481..e4750e454bf184379bf133174ea7ae0cec29b488 100644
(file)
--- a/
device/lib/sincosf.c
+++ b/
device/lib/sincosf.c
@@
-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)*/