Fix cut-and-paste bugs in the regression tests.
This commit is contained in:
parent
266cb5ad57
commit
3f29b2ef51
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165748
@ -218,7 +218,7 @@ main(int argc, char *argv[])
|
|||||||
assert(d == 0.0);
|
assert(d == 0.0);
|
||||||
|
|
||||||
sscanf("0x1.2345678p-1050", "%le", &d);
|
sscanf("0x1.2345678p-1050", "%le", &d);
|
||||||
assert(d == 0x1.234568p-1050);
|
assert(d == 0x1.234567p-1050);
|
||||||
|
|
||||||
fesetround(FE_UPWARD);
|
fesetround(FE_UPWARD);
|
||||||
|
|
||||||
@ -248,7 +248,7 @@ main(int argc, char *argv[])
|
|||||||
assert(d == 0.0);
|
assert(d == 0.0);
|
||||||
|
|
||||||
sscanf("0x1.2345678p-1050", "%le", &d);
|
sscanf("0x1.2345678p-1050", "%le", &d);
|
||||||
assert(d == 0x1.234568p-1050);
|
assert(d == 0x1.234567p-1050);
|
||||||
|
|
||||||
fesetround(FE_TONEAREST);
|
fesetround(FE_TONEAREST);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user