tests/test-frexp.c


Log

Author Commit Date CI Message
Bruno Haible 4eb59b32 2008-08-01T11:30:27 Work around bug of HP-UX 10.20 cc with -0.0 literal.
Ben Pfaff f2bbde92 2008-07-12T10:41:34 Rename isnand.h to isnand-nolibm.h, similarly for isnanf.h.
Bruno Haible 33b602c4 2008-04-13T21:58:00 Fix compilation failure on AIX with xlc.
Bruno Haible e220635f 2008-04-11T16:31:39 Flush the standard error stream before aborting.
Jim Meyering d08ac0de 2008-04-03T00:15:24 Avoid some warnings from "gcc -Wshadow".
Bruno Haible 0a565096 2008-04-02T03:06:02 Use macros NaNf, NaNd, NaNl instead of NAN.
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 b17d7ac7 2008-01-26T15:17:58 Rename isnan, applicable to 'double' only, to isnand.
Bruno Haible 57fdfd3f 2007-10-07T19:14:58 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible 75d14636 2007-04-29T09:15:13 Better ASSERT macro.
Bruno Haible 5d7e7dd7 2007-04-06T21:15:32 Test also the sign bit of zero results.
Bruno Haible 076e99e2 2007-03-25T20:58:03 Work around IRIX 6.5 cc compiler bug, which simplifies x != x to false.
Bruno Haible 6136fd62 2007-03-25T19:56:22 Work around a DEC C compiler bug.
Bruno Haible f7596f42 2007-03-22T04:02:05 Tests for module 'frexp'.