projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More tests for modules frexpf-ieee, frexp-ieee, frexpl-ieee.
[gnulib.git]
/
tests
/
test-frexpl-ieee.c
diff --git
a/tests/test-frexpl-ieee.c
b/tests/test-frexpl-ieee.c
index
ebe72c7
..
c9fae56
100644
(file)
--- a/
tests/test-frexpl-ieee.c
+++ b/
tests/test-frexpl-ieee.c
@@
-62,6
+62,12
@@
main ()
mantissa = frexpl (Infinityl (), &exp);
ASSERT (mantissa == Infinityl ());
}
+ {
+ int exp = -9999;
+ long double mantissa;
+ mantissa = frexpl (- Infinityl (), &exp);
+ ASSERT (mantissa == - Infinityl ());
+ }
return 0;
}