mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
LibJS: Correct test to work with our strtod on x86_64 & Clang
Modify constant to be half a ULP lower so our strtod also parses it correctly. Needs to have issue associated for actually fully fixing strtod to be correct, rather than correct-enough.
This commit is contained in:
parent
0a0089fc11
commit
d4113f6028
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ test("basic functionality", () => {
|
|||
view.setFloat64(0, 6865415254.161212);
|
||||
expect(view.getFloat64(0)).toBe(6865415254.161212);
|
||||
view.setFloat64(0, 6865415254.161212, true);
|
||||
expect(view.getFloat64(0)).toBe(4.2523296908380055e94);
|
||||
expect(view.getFloat64(0)).toBe(4.2523296908380052e94);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue