lib/math.in.h


Log

Author Commit Date CI Message
Ben Pfaff 2cc4af23 2008-07-23T21:48:35 Add isinf module.
Ben Pfaff 7080851f 2008-07-12T10:50:41 Add isnan module.
Bruno Haible c2a386bb 2008-04-13T20:43:12 Make truncl work on OSF/1 4.0.
Eric Blake 833333f7 2008-04-12T07:22:40 Work around Solaris 10 math.h bug. * m4/math_h.m4 (gl_MATH_H): Check for bug. (gl_MATH_H_DEFAULTS): Set up default. * modules/math (Makefile.am): Replace new indicators. * lib/math.in.h (NAN, HUGE_VAL): Provide replacements. * tests/test-math.c (main): Test this. * m4/strtod.m4 (gl_FUNC_STRTOD): Don't rely on HUGE_VAL. * doc/posix-headers/math.texi (math.h): Mention bug. Reported by Nelson H. F. Beebe and Jim Meyering. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 06945b7c 2008-03-31T20:56:25 Guarantee a definition of NAN. * lib/math.in.h (NAN): Define if missing. * tests/test-math.c (main): Test it. * doc/posix-headers/math.texi (math.h): Document this. * lib/isnan.c (rpl_isnand): Use it. * tests/test-ceilf1.c (NaN): Delete, and use NAN instead. * tests/test-floorf1.c (NaN): Likewise. * tests/test-frexp.c (NaN): Likewise. * tests/test-isnand.c (NaN): Likewise. * tests/test-isnanf.c (NaN): Likewise. * tests/test-round1.c (NaN): Likewise. * tests/test-roundf1.c (NaN): Likewise. * tests/test-snprintf-posix.h (NaN): Likewise. * tests/test-sprintf-posix.h (NaN): Likewise. * tests/test-trunc1.c (NaN): Likewise. * tests/test-truncf1.c (NaN): Likewise. * tests/test-vasnprintf-posix.c (NaN): Likewise. * tests/test-vasprintf-posix.c (NaN): Likewise. * modules/isnand-nolibm (Depends-on): Add math. * modules/isnanf-nolibm (Depends-on): Likewise. * modules/isnanl (Depends-on): Likewise. * modules/isnanl-nolibm (Depends-on): Likewise. * modules/snprintf-posix-tests (Depends-on): Likewise. * modules/sprintf-posix-tests (Depends-on): Likewise. * modules/vsnprintf-posix-tests (Depends-on): Likewise. * modules/vsprintf-posix-tests (Depends-on): Likewise. * modules/vasnprintf-posix-tests (Depends-on): Likewise. * modules/vasprintf-posix-tests (Depends-on): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible ce867563 2008-01-26T02:26:52 Exploit the __builtin_signbit GCC built-in.
Bruno Haible 21e68e54 2007-11-11T13:58:25 Use REPLACE_ROUND instead of HAVE_DECL_ROUND.
Bruno Haible 28d9a006 2007-10-29T04:23:19 Use REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE.
Bruno Haible 81ba90be 2007-10-29T03:19:52 Fix link errors with Sun C 5.0 on Solaris 10.
Bruno Haible 7b104303 2007-10-29T00:25:20 Add/remove some blank lines.
Ben Pfaff e74e1f15 2007-10-27T22:12:07 Implement 'isfinite' module.
Ben Pfaff ca45caaa 2007-10-27T21:05:58 Check whether round* exist in libraries, not just whether they are declared.
Ben Pfaff 980d2709 2007-10-20T13:08:26 Implement 'round', 'roundf', 'roundl' modules.
Bruno Haible c100c634 2007-10-07T22:10:35 Rename parameter 'exp' to 'expptr', to avoid gcc warnings.
Bruno Haible 57fdfd3f 2007-10-07T19:14:58 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible d23df56e 2007-10-05T03:54:50 New module 'ceill'.
Bruno Haible b064d497 2007-10-05T03:43:42 New module 'ceilf'.
Bruno Haible 33f47a82 2007-10-05T03:33:31 New module 'floorl'.
Bruno Haible ab044c63 2007-10-05T03:02:08 New module 'floorf'.
Bruno Haible 07ee1756 2007-10-05T01:39:53 New module 'truncl'.
Bruno Haible 152e9957 2007-10-05T01:06:37 New module 'truncf'.
Bruno Haible ec0af5d5 2007-10-04T03:22:14 New module 'trunc'.
Bruno Haible 1d8fd673 2007-10-02T00:21:15 Rename math_.h to math.in.h.