]> git.gag.com Git - fw/sdcc/commitdiff
_fs2slong.c, _fs2sint.c, _fs2char.c: Properly convert floats between -1.0 and 0.0
authorjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 19 Nov 2005 18:19:14 +0000 (18:19 +0000)
committerjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 19 Nov 2005 18:19:14 +0000 (18:19 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3966 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog

index a673ce65fdee666a07074843833a59dc9ec16f8e..c20c63b6e9938a52af1847cabd340b63a7bd4acf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2005-11-19 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
+
+       * device/lib/_fs2slong.c, device/lib/_fs2sint.c, device/lib/_fs2char.c:
+         Properly convert floats between -1.0 and 0.0 to long, int, and char
+         types (max integer value of negative floats tends to zero).
+       * device/lib/modff.c, device/lib/ceilf.c, device/lib/floorf.c:
+         Removed changes made so to work properly with floats between
+         -1.0 and 0.0, as the problem is fixed in _fs2slong.c, _fs2sint.c,
+         and _fs2char.c
+
 2005-11-18 Bernhard Held <bernhard AT bernhardheld.de>
 
        * src/SDCCcse.c (ReplaceOpWithCheaperOp): minor fix for debugging only