* src/SDCCast.c (decorateType): fixed bug #898889, cast result of a literal complemen...
[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 }