|
0a565096
|
2008-04-02T03:06:02
|
|
Use macros NaNf, NaNd, NaNl instead of NAN.
|
|
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>
|
|
e2cc522f
|
2008-02-07T01:47:53
|
|
Fix bug introduced on 2008-01-26.
|
|
6e2c5ce9
|
2007-12-11T14:00:26
|
|
Fix bug with -0.0L in previous patch.
* lib/isnan.c (rpl_isnanl): Make robust to -0.0L and pad bits.
* tests/test-isnan.c (main): Also test on zeroes.
* tests/test-isnanf.c (main): Likewise.
* tests/test-isnanl.h (main): Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
8e04e142
|
2007-12-11T11:35:55
|
|
Detect pseudo-denormals on x86 even when cross-compiling.
* lib/isnan.c (rpl_isnanl) [!KNOWN_EXPBIT0_LOCATION
&& USE_LONG_DOUBLE && x86]: Add one more check to filter out
invalid bit patterns that happen to satisfy ==.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
57fdfd3f
|
2007-10-07T19:14:58
|
|
Change copyright notice from GPLv2+ to GPLv3+.
|
|
0c5d8a34
|
2007-06-06T02:02:41
|
|
Recognize non-IEEE numbers on i386, x86_64, ia64.
|
|
5459c1d2
|
2007-05-19T23:54:48
|
|
Work around bugs in the system's isnanf on IRIX and Solaris.
|
|
15b93a23
|
2007-04-06T20:19:19
|
|
New module 'isnanf-nolibm'.
|
|
d2c57e54
|
2007-03-25T19:45:26
|
|
Work around DEC C 6.4 compiler bug.
|
|
2c3e2e59
|
2007-03-25T01:06:39
|
|
Correct bitwise comparison of 'long double' numbers.
|
|
0fd76267
|
2007-03-11T22:40:52
|
|
Work around bug regarding initializers in SunPRO C and Compaq C compilers.
|
|
92765dd7
|
2007-02-25T02:35:37
|
|
Merge isnan and isnanl into a single source file.
|
|
4ad44dd7
|
2007-02-24T19:08:56
|
|
New module 'isnan-nolibm'.
|