projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed and cleaned up fp support, optimisation yet to come
[fw/sdcc]
/
device
/
lib
/
_fs2sint.c
diff --git
a/device/lib/_fs2sint.c
b/device/lib/_fs2sint.c
index dd49c4e799974e27c66d10f876cac8cb1d23f539..78c179838f39071ce3e6eab383400e39e925c744 100644
(file)
--- a/
device/lib/_fs2sint.c
+++ b/
device/lib/_fs2sint.c
@@
-1,6
+1,4
@@
-#include <limits.h>
-
-signed long __fs2slong (float f);
+#include <float.h>
/* convert float to signed int */
signed int __fs2sint (float f) {