projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCCloop.c (assignmentsToSym, loopInduction): cast argument of setToNull()...
[fw/sdcc]
/
device
/
lib
/
expf.c
diff --git
a/device/lib/expf.c
b/device/lib/expf.c
index 083de0c2addaee9f8a6ccb2cde0d8ad21a64b966..d6557bc0a138a640958655fa50383f8570a1bd9a 100644
(file)
--- a/
device/lib/expf.c
+++ b/
device/lib/expf.c
@@
-43,7
+43,11
@@
float expf(const float x)
{
int n;
float xn, g, r, z, y;
- int sign;
+#ifdef SDCC_mcs51
+ bit sign;
+#else
+ char sign;
+#endif
if(x>=0.0)
{ y=x; sign=0; }