Fix incorrect rounding of floor, floorf, floorl in some cases. Add new test.
[gnulib.git] / ChangeLog
index 2886236..7857f6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-10-12  Bruno Haible  <bruno@clisp.org>
 
+       * lib/floor.c (FUNC): Avoid rounding errors for values near a power
+       of 2.
+       * tests/test-floorf2.c: New file.
+       * modules/floorf-tests: (Files, Depends-on, Makefile.am): Add new test.
+
        * tests/test-floorf1.c: Renamed from tests/test-floorf.c.
        * modules/floorf-tests: Update.