projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vasnprintf: Add more tests.
[pspp]
/
tests
/
test-sinl.c
diff --git
a/tests/test-sinl.c
b/tests/test-sinl.c
index 19e7e62ff8f2c9a214d1dd5745f8b88c8f3075eb..8d69b26cee0ce83ed7c7fd8177522327c7b122a1 100644
(file)
--- a/
tests/test-sinl.c
+++ b/
tests/test-sinl.c
@@
-26,6
+26,7
@@
SIGNATURE_CHECK (sinl, 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 = sinl (0.6L);
+ x = 0.6L;
+ y = sinl (x);
ASSERT (y >= 0.5646424733L && y <= 0.5646424734L);
return 0;