projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use isnanf() instead of isnan(). Avoids a link error on HP-UX 11.
[pspp]
/
tests
/
test-ceilf1.c
diff --git
a/tests/test-ceilf1.c
b/tests/test-ceilf1.c
index 485b16f4d7a2e03f25ed8f99ff82657c478a954c..36a116358fe9babb98fb686e5752da165255e054 100644
(file)
--- a/
tests/test-ceilf1.c
+++ b/
tests/test-ceilf1.c
@@
-23,6
+23,8
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
+#include "isnanf.h"
+
#define ASSERT(expr) \
do \
{ \
#define ASSERT(expr) \
do \
{ \
@@
-77,7
+79,7
@@
main ()
ASSERT (ceilf (1.0f / 0.0f) == 1.0f / 0.0f);
ASSERT (ceilf (-1.0f / 0.0f) == -1.0f / 0.0f);
/* NaNs. */
ASSERT (ceilf (1.0f / 0.0f) == 1.0f / 0.0f);
ASSERT (ceilf (-1.0f / 0.0f) == -1.0f / 0.0f);
/* NaNs. */
- ASSERT (isnan (ceilf (NaN ())));
+ ASSERT (isnan
f
(ceilf (NaN ())));
return 0;
}
return 0;
}