projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update from texinfo
[gnulib.git]
/
tests
/
test-frexpl.c
diff --git
a/tests/test-frexpl.c
b/tests/test-frexpl.c
index
2b968b8
..
d4babb8
100644
(file)
--- a/
tests/test-frexpl.c
+++ b/
tests/test-frexpl.c
@@
-26,6
+26,7
@@
#include "fpucw.h"
#include "isnanl-nolibm.h"
#include "fpucw.h"
#include "isnanl-nolibm.h"
+#include "nan.h"
/* Avoid some warnings from "gcc -Wshadow".
This file doesn't use the exp() function. */
/* Avoid some warnings from "gcc -Wshadow".
This file doesn't use the exp() function. */
@@
-95,7
+96,7
@@
main ()
{ /* NaN. */
int exp = -9999;
long double mantissa;
{ /* NaN. */
int exp = -9999;
long double mantissa;
- x =
0.0L / 0.0L
;
+ x =
NaNl ()
;
mantissa = frexpl (x, &exp);
ASSERT (isnanl (mantissa));
}
mantissa = frexpl (x, &exp);
ASSERT (isnanl (mantissa));
}