projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More tests for unistr/u8-strchr.
[pspp]
/
tests
/
test-sqrtl.c
diff --git
a/tests/test-sqrtl.c
b/tests/test-sqrtl.c
index 2bf34fa0047d378e58e4d6a5ddf96774d2ead0e0..a7baef783c55300075ac2f65fa40b8da1dec5b5d 100644
(file)
--- a/
tests/test-sqrtl.c
+++ b/
tests/test-sqrtl.c
@@
-26,6
+26,7
@@
SIGNATURE_CHECK (sqrtl, 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 = sqrtl (0.6L);
+ x = 0.6L;
+ y = sqrtl (x);
ASSERT (y >= 0.7745966692L && y <= 0.7745966693L);
return 0;