projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test-xalloc-die: avoid unwarranted test failure on OpenSolaris 5.11
[pspp]
/
tests
/
test-cosl.c
diff --git
a/tests/test-cosl.c
b/tests/test-cosl.c
index 5e63fdd355178dc8673cd2a7ac5f6ded67aaf7a1..a13e75f84ea4af2baa6525688e23effbfed8f46d 100644
(file)
--- a/
tests/test-cosl.c
+++ b/
tests/test-cosl.c
@@
-26,6
+26,7
@@
SIGNATURE_CHECK (cosl, long double, (long double));
#include "fpucw.h"
#include "macros.h"
+volatile long double x;
long double y;
int
@@
-36,7
+37,8
@@
main ()
BEGIN_LONG_DOUBLE_ROUNDING ();
/* A particular value. */
- y = cosl (0.6L);
+ x = 0.6L;
+ y = cosl (x);
ASSERT (y >= 0.8253356149L && y <= 0.8253356150L);
return 0;