ladybird/Libraries/LibWasm
Jelle Raaijmakers ed94381209 LibWasm: Return canonical NaN for min/max/floor/ceil/truncate operations
Instead of returning whichever argument was NaN, return the canonical
NaN instead. The spec allows the old behavior:

  "Following the recommendation that operators propagate NaN payloads
   from their operands is permitted but not required."

But Chrome, Firefox and Safari do not propagate the operand payloads.

Fixes 448 WPT subtests in `wasm/core`.

Co-authored-by: Ali Mohammad Pur <ali.mpfard@gmail.com>
2025-07-27 15:35:28 +02:00
..
AbstractMachine LibWasm: Return canonical NaN for min/max/floor/ceil/truncate operations 2025-07-27 15:35:28 +02:00
Parser AK+Everywhere: Allow lonely UTF-16 surrogates by default 2025-07-03 09:51:56 -04:00
Printer Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
Tests
WASI Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
CMakeLists.txt CMake: Rename serenity_* helper functions/macros to ladybird_* 2025-07-03 23:19:41 +02:00
Constants.h LibWasm+LibWeb: Throw a js stack-overflow error if wasm stack overflows 2025-05-22 07:35:58 +01:00
Forward.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
Opcode.h
Types.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
Wasi.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00