1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Userland/Libraries/LibJS
Idan Horowitz 57a52094d1 LibJS: Rewrite Math.hypot to handle exceptions, NaNs, Infinity properly
The specification requires that we immediately return Infinity during
the iteration over the arguments if positive or negative infinity is
encountered, and return a NaN if it is encountered and no Infinity was
found. The specification also requires all arguments to be coerced into
numbers before the operation starts, or else a number conversion
exception could be missed due to the Infinity/NaN early return.
2021-06-05 14:56:58 +01:00
..
Heap LibJS: Instrument HeapBlock cell allocation for ASAN 2021-05-29 17:47:29 +01:00
Runtime LibJS: Rewrite Math.hypot to handle exceptions, NaNs, Infinity properly 2021-06-05 14:56:58 +01:00
Tests LibJS: Fix functions binding this to global object in strict mode 2021-06-04 13:00:37 +01:00
AST.cpp LibJS: Replace StringOrSymbol::from_value with Value::to_property_key 2021-06-05 14:15:28 +01:00
AST.h LibJS: Implement destructuring assignments and function parameters 2021-05-29 23:02:23 +04:30
CMakeLists.txt LibJS: Fix indendation in CMakeLists.txt 2021-06-02 00:14:53 +01:00
Console.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
Console.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibJS: Replace StringOrSymbol::from_value with Value::to_property_key 2021-06-05 14:15:28 +01:00
Interpreter.cpp LibJS: Implement destructuring assignments and function parameters 2021-05-29 23:02:23 +04:30
Interpreter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Lexer.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
Lexer.h Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
MarkupGenerator.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MarkupGenerator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp AK+LibWasm+LibJS: Disallow Variant.has() on types that aren't contained 2021-06-02 18:02:47 +02:00
Parser.h LibJS: Implement destructuring assignments and function parameters 2021-05-29 23:02:23 +04:30
SourceRange.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SyntaxHighlighter.cpp LibJS: Fix off-by-one error in SyntaxHighlighter 2021-06-05 00:32:28 +04:30
SyntaxHighlighter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Token.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
Token.h Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00