1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-07 20:27:36 +00:00
serenity/Userland/Libraries/LibJS
Idan Horowitz 0399239e3f LibJS: Do not negate zero into negative zero in ToIntegerOrInfinity
When the input value was in the range of [-1, 0] we would incorrectly
negate the resulting integer, resulting in -0 instead of the expected 0
2022-04-30 21:35:16 +02:00
..
Bytecode
Contrib/Test262
Heap
Runtime LibJS: Do not negate zero into negative zero in ToIntegerOrInfinity 2022-04-30 21:35:16 +02:00
Tests
AST.cpp
AST.h
CMakeLists.txt
Console.cpp
Console.h
CyclicModule.cpp
CyclicModule.h
Forward.h
Interpreter.cpp
Interpreter.h
Lexer.cpp
Lexer.h
MarkupGenerator.cpp
MarkupGenerator.h
Module.cpp
Module.h
Parser.cpp
Parser.h
Script.cpp
Script.h
SourceRange.h
SourceTextModule.cpp
SourceTextModule.h
SyntaxHighlighter.cpp
SyntaxHighlighter.h
SyntheticModule.cpp
SyntheticModule.h
Token.cpp
Token.h