serenity/Userland/Libraries/LibWasm
Andrew Kaster 9a66a9ac4a LibWasm: Split SaturatingTruncate conversion function by float/non-float
It's possible to construct a floating point value that when converted to
double is not larger than i64::max(), but when remaining a float is
larger. This patch avoids that edge case with some even less exciting if
constexpr branches to fix a float-cast-overflow UBSAN error on macOS
with llvm 15.0.6.
2022-12-25 07:58:58 -07:00
..
AbstractMachine LibWasm: Split SaturatingTruncate conversion function by float/non-float 2022-12-25 07:58:58 -07:00
Parser
Printer
Tests
CMakeLists.txt Meta+CMake: Extract Wasm spec tests into the binary directory 2022-12-14 20:29:43 +03:30
Constants.h
Forward.h
Opcode.h
Types.h