projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed and cleaned up fp support, optimisation yet to come
[fw/sdcc]
/
device
/
lib
/
_slong2fs.c
1
#include <float.h>
2
3
/* convert signed long to float */
4
float __slong2fs (signed long sl) {
5
if (sl<0)
6
return -__ulong2fs(-sl);
7
else
8
return __ulong2fs(sl);
9
}