summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/lib/libc')
-rw-r--r--tools/regression/lib/libc/stdio/test-scanfloat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/lib/libc/stdio/test-scanfloat.c b/tools/regression/lib/libc/stdio/test-scanfloat.c
index 3d4e159..342fc73 100644
--- a/tools/regression/lib/libc/stdio/test-scanfloat.c
+++ b/tools/regression/lib/libc/stdio/test-scanfloat.c
@@ -218,7 +218,7 @@ main(int argc, char *argv[])
assert(d == 0.0);
sscanf("0x1.2345678p-1050", "%le", &d);
- assert(d == 0x1.234568p-1050);
+ assert(d == 0x1.234567p-1050);
fesetround(FE_UPWARD);
@@ -248,7 +248,7 @@ main(int argc, char *argv[])
assert(d == 0.0);
sscanf("0x1.2345678p-1050", "%le", &d);
- assert(d == 0x1.234568p-1050);
+ assert(d == 0x1.234567p-1050);
fesetround(FE_TONEAREST);
OpenPOWER on IntegriCloud