From ce2b1451d273e351c1a26640e198fa59a068bec4 Mon Sep 17 00:00:00 2001 From: jesusc Date: Sat, 19 Nov 2005 18:19:14 +0000 Subject: [PATCH] _fs2slong.c, _fs2sint.c, _fs2char.c: Properly convert floats between -1.0 and 0.0 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3966 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index a673ce65..c20c63b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-11-19 Jesus Calvino-Fraga + + * 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 * src/SDCCcse.c (ReplaceOpWithCheaperOp): minor fix for debugging only -- 2.47.2