X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ChangeLog;h=5485111011e324e757a485e0f8c0552a77f1e255;hb=b5cc9885b4b5a247870adf0ed9b9f4a5a3347a26;hp=fa8ea06b83f2e135e4be1eae88479dc64319f76f;hpb=e7f0d355e92f265c4d1d3e08f0ad0b8d433d1cf9;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index fa8ea06b8..548511101 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,389 @@ +2012-02-26 Bruno Haible + + modf-ieee: Work around test failures on *BSD, IRIX, OSF/1, Cygwin. + * m4/modf-ieee.m4: New file. + * m4/modf.m4 (gl_FUNC_MODF): If gl_FUNC_MODF_IEEE is present, test + whether modf works with NaN and Inf. Replace it if not. + * lib/math.in.h (modf): New declaration. + * lib/modf.c: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether modf is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_MODF, REPLACE_MODF. + * modules/math (Makefile.am): Substitute GNULIB_MODF, REPLACE_MODF. + * modules/modf (Files): Add lib/modf.c. + (Depends-on): Add math, isfinite, trunc, isinf. + (configure.ac): Addrange to compile lib/modf.c if needed. + * modules/modf-ieee (Files): Add m4/modf-ieee.m4, m4/minus-zero.m4, + m4/signbit.m4. + (configure.ac): Invoke gl_FUNC_MODF_IEEE. + * tests/test-math-c++.cc: Check the declaration of modf. + * doc/posix-functions/modf.texi: Mention the modf-ieee module. + + Tests for module 'modfl-ieee'. + * modules/modfl-ieee-tests: New file. + * tests/test-modfl-ieee.c: New file. + + New module 'modfl-ieee'. + * modules/modfl-ieee: New file. + + Tests for module 'modf-ieee'. + * modules/modf-ieee-tests: New file. + * tests/test-modf-ieee.c: New file. + + New module 'modf-ieee'. + * modules/modf-ieee: New file. + + Tests for module 'modff-ieee'. + * modules/modff-ieee-tests: New file. + * tests/test-modff-ieee.c: New file. + * tests/test-modf-ieee.h: New file. + + New module 'modff-ieee'. + * modules/modff-ieee: New file. + +2012-02-26 Bruno Haible + + Tests for module 'fabsl-ieee'. + * modules/fabsl-ieee-tests: New file. + * tests/test-fabsl-ieee.c: New file. + + New module 'fabsl-ieee'. + * modules/fabsl-ieee: New file. + + Tests for module 'fabs-ieee'. + * modules/fabs-ieee-tests: New file. + * tests/test-fabs-ieee.c: New file. + + New module 'fabs-ieee'. + * modules/fabs-ieee: New file. + + Tests for module 'fabsf-ieee'. + * modules/fabsf-ieee-tests: New file. + * tests/test-fabsf-ieee.c: New file. + * tests/test-fabs-ieee.h: New file. + + New module 'fabsf-ieee'. + * modules/fabsf-ieee: New file. + +2012-02-26 Bruno Haible + + Tests for module 'fmal-ieee'. + * modules/fmal-ieee-tests: New file. + * tests/test-fmal-ieee.c: New file. + + New module 'fmal-ieee'. + * modules/fmal-ieee: New file. + + Tests for module 'fma-ieee'. + * modules/fma-ieee-tests: New file. + * tests/test-fma-ieee.c: New file. + + New module 'fma-ieee'. + * modules/fma-ieee: New file. + + Tests for module 'fmaf-ieee'. + * modules/fmaf-ieee-tests: New file. + * tests/test-fmaf-ieee.c: New file. + * tests/test-fma-ieee.h: New file. + + New module 'fmaf-ieee'. + * modules/fmaf-ieee: New file. + +2012-02-26 Bruno Haible + + Tests for module 'ldexpl-ieee'. + * modules/ldexpl-ieee-tests: New file. + * tests/test-ldexpl-ieee.c: New file. + + New module 'ldexpl-ieee'. + * modules/ldexpl-ieee: New file. + + Tests for module 'ldexp-ieee'. + * modules/ldexp-ieee-tests: New file. + * tests/test-ldexp-ieee.c: New file. + + New module 'ldexp-ieee'. + * modules/ldexp-ieee: New file. + + Tests for module 'ldexpf-ieee'. + * modules/ldexpf-ieee-tests: New file. + * tests/test-ldexpf-ieee.c: New file. + * tests/test-ldexp-ieee.h: New file. + + New module 'ldexpf-ieee'. + * modules/ldexpf-ieee: New file. + +2012-02-26 Bruno Haible + + Refactor frexp*-ieee tests. + * tests/test-frexp-ieee.h: New file. + * tests/test-frexpf-ieee.c: Include test-frexp-ieee.h. + (main): Just call test_function. + * tests/test-frexp-ieee.c: Include test-frexp-ieee.h. + (main): Just call test_function. + * tests/test-frexpl-ieee.c: Include test-frexp-ieee.h. + (main): Just call test_function. + * modules/frexpf-ieee-tests (Files): Add tests/test-frexp-ieee.h. + * modules/frexp-ieee-tests (Files): Likewise. + * modules/frexpl-ieee-tests (Files): Likewise. + + Tests for module 'frexpl-ieee'. + * modules/frexpl-ieee-tests: New file. + * tests/test-frexpl-ieee.c: New file. + + New module 'frexpl-ieee'. + * modules/frexpl-ieee: New file. + + Tests for module 'frexp-ieee'. + * modules/frexp-ieee-tests: New file. + * tests/test-frexp-ieee.c: New file. + + New module 'frexp-ieee'. + * modules/frexp-ieee: New file. + + Tests for module 'frexpf-ieee'. + * modules/frexpf-ieee-tests: New file. + * tests/test-frexpf-ieee.c: New file. + + New module 'frexpf-ieee'. + * modules/frexpf-ieee: New file. + +2012-02-26 Bruno Haible + + roundl-ieee tests: More tests. + * tests/test-roundl-ieee.c: Include isnanl-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/roundl-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanl-nolibm. + + round-ieee tests: More tests. + * tests/test-round-ieee.c: Include isnand-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/round-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnand-nolibm. + + roundf-ieee tests: More tests. + * tests/test-roundf-ieee.c: Include isnanf-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/roundf-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanf-nolibm. + + truncl-ieee tests: More tests. + * tests/test-truncl-ieee.c: Include isnanl-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/truncl-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanl-nolibm. + + trunc-ieee tests: More tests. + * tests/test-trunc-ieee.c: Include isnand-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/trunc-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnand-nolibm. + + truncf-ieee tests: More tests. + * tests/test-truncf-ieee.c: Include isnanf-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/truncf-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanf-nolibm. + + ceill-ieee tests: More tests. + * tests/test-ceill-ieee.c: Include isnanl-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/ceill-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanl-nolibm. + + ceil-ieee tests: More tests. + * tests/test-ceil-ieee.c: Include isnand-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/ceil-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnand-nolibm. + + ceilf-ieee tests: More tests. + * tests/test-ceilf-ieee.c: Include isnanf-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/ceilf-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanf-nolibm. + + floorl-ieee tests: More tests. + * tests/test-floorl-ieee.c: Include isnanl-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/floorl-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanl-nolibm. + + floor-ieee tests: More tests. + * tests/test-floor-ieee.c: Include isnand-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/floor-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnand-nolibm. + + floorf-ieee tests: More tests. + * tests/test-floorf-ieee.c: Include isnanf-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/floorf-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanf-nolibm. + +2012-02-26 Bruno Haible + + fpieee: More comments. + * m4/fpieee.m4 (gl_FP_IEEE): Add more comments. + +2012-02-25 Bruno Haible + + Tests for module 'log10l'. + * modules/log10l-tests: New file. + * tests/test-log10l.c: New file. + * tests/test-math-c++.cc: Check the declaration of log10l. + + New module 'log10l'. + * lib/math.in.h (log10l): New declaration. + * lib/log10l.c: New file. + * m4/log10l.m4: New file. + * modules/log10l: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether log10l is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG10L, HAVE_LOG10L, + HAVE_DECL_LOG10L. + * modules/math (Makefile.am): Substitute GNULIB_LOG10L, HAVE_LOG10L, + HAVE_DECL_LOG10L. + * doc/posix-functions/log10l.texi: Mention the new module. + +2012-02-25 Bruno Haible + + fmodl, remainder*: Avoid wrong results due to rounding errors. + * lib/fmodl.c (fmodl): Correct the result if it is not within the + expected bounds. + * lib/remainderf.c (remainderf): Likewise. + * lib/remainder.c (remainder): Likewise. + * lib/remainderl.c (remainderl): Likewise. + +2012-02-25 Bruno Haible + + Tests for module 'remainderl'. + * modules/remainderl-tests: New file. + * tests/test-remainderl.c: New file. + * tests/test-math-c++.cc: Check the declaration of remainderl. + + New module 'remainderl'. + * lib/math.in.h (remainderl): New declaration. + * lib/remainderl.c: New file. + * m4/remainderl.m4: New file. + * modules/remainderl: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether remainderl is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_REMAINDERL, HAVE_REMAINDERL. + * modules/math (Makefile.am): Substitute GNULIB_REMAINDERL, + HAVE_REMAINDERL. + * doc/posix-functions/remainderl.texi: Mention the new module. + +2012-02-25 Bruno Haible + + Tests for module 'remainderf'. + * modules/remainderf-tests: New file. + * tests/test-remainderf.c: New file. + * tests/test-math-c++.cc: Check the declaration of remainderf. + + New module 'remainderf'. + * lib/math.in.h (remainderf): New declaration. + * lib/remainderf.c: New file. + * m4/remainderf.m4: New file. + * modules/remainderf: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether remainderf is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_REMAINDERF, HAVE_REMAINDERF. + * modules/math (Makefile.am): Substitute GNULIB_REMAINDERF, + HAVE_REMAINDERF. + * doc/posix-functions/remainderf.texi: Mention the new module. + +2012-02-25 Bruno Haible + + remainder: Support for MSVC. + * lib/math.in.h (remainder): New declaration. + * lib/remainder.c: New file. + * m4/remainder.m4: New file. + * modules/remainder (Files): Add lib/remainder.c, m4/remainder.m4. + (Depends-on): Add math, round, fma. + (configure.ac): Use results of gl_FUNC_REMAINDER. + * m4/math_h.m4 (gl_MATH_H): Test whether remainder is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_REMAINDER, HAVE_REMAINDER, + HAVE_DECL_REMAINDER. + * modules/math (Makefile.am): Substitute GNULIB_REMAINDER, + HAVE_REMAINDER, HAVE_DECL_REMAINDER. + * tests/test-math-c++.cc: Check the declaration of remainder. + * doc/posix-functions/remainder.texi: Mention that the MSVC and IRIX 5 + problems are fixed. + +2012-02-25 Bruno Haible + + Tests for module 'fmodl'. + * modules/fmodl-tests: New file. + * tests/test-fmodl.c: New file. + * tests/test-math-c++.cc: Check the declaration of fmodl. + + New module 'fmodl'. + * lib/math.in.h (fmodl): New declaration. + * lib/fmodl.c: New file. + * m4/fmodl.m4: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether fmodl is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_FMODL, HAVE_FMODL, + REPLACE_FMODL. + * modules/math (Makefile.am): Substitute GNULIB_FMODL, HAVE_FMODL, + REPLACE_FMODL. + * modules/fmodl: New file. + * doc/posix-functions/fmodl.texi: Mention the new module. + +2012-02-25 Bruno Haible + + Tests for module 'modfl'. + * modules/modfl-tests: New file. + * tests/test-modfl.c: New file. + * tests/test-math-c++.cc: Check the declaration of modfl. + + New module 'modfl'. + * lib/math.in.h (modfl): New declaration. + * lib/modfl.c: New file. + * m4/modfl.m4: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether modfl is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_MODFL, HAVE_MODFL. + * modules/math (Makefile.am): Substitute GNULIB_MODFL, HAVE_MODFL. + * modules/modfl: New file. + * doc/posix-functions/modfl.texi: Mention the new module. + +2012-02-25 Bruno Haible + + Tests for module 'fabsl'. + * modules/fabsl-tests: New file. + * tests/test-fabsl.c: New file. + * tests/test-math-c++.cc: Check the declaration of fabsl. + + New module 'fabsl'. + * lib/math.in.h (fabsl): New declaration. + * lib/fabsl.c: New file. + * m4/fabsl.m4: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether fabsl is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_FABSL, HAVE_FABSL, + REPLACE_FABSL. + * modules/math (Makefile.am): Substitute GNULIB_FABSL, HAVE_FABSL, + REPLACE_FABSL. + * modules/fabsl: New file. + * doc/posix-functions/fabsl.texi: Mention the new module. + +2012-02-25 Bruno Haible + + fabs tests: More tests. + * tests/test-fabs.c: Include , minus-zero.h. + (zero): New variable. + (main): Add tests for signed zero. + * modules/fabs-tests (Files): Add tests/minus-zero.h. + + fabsf tests: More tests. + * tests/test-fabsf.c: Include , minus-zero.h. + (zero): New variable. + (main): Add tests for signed zero. + * modules/fabsf-tests (Files): Add tests/minus-zero.h. + +2012-02-24 Bruno Haible + + atanl: Provide function definition on MSVC. + * m4/atanl.m4 (gl_FUNC_ATANL): Test also whether atanl can be used as a + function pointer. + * lib/math.in.h (atanl): Undefine if it does not exist as a function. + 2012-02-24 Bruno Haible acosl: Provide function definition on MSVC.