* device/lib/pic/libdev/Makefile.in: build device-specific
[fw/sdcc] / device / lib / modff.c
index 2286c3b89504add6c277c4f53d311b34909625e7..46828764275735ff65e851b0030eaba44823ccf5 100644 (file)
@@ -22,9 +22,6 @@
 
 float modff(float x, float * y)
 {
-    long r;
-    r=x;
-    if(r==0x80000000) r=0; //-0?
-    *y=r;
+    *y=(long)x;
     return (x-*y);
 }