mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
9a66a9ac4a
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. |
||
---|---|---|
.. | ||
AbstractMachine | ||
Parser | ||
Printer | ||
Tests | ||
CMakeLists.txt | ||
Constants.h | ||
Forward.h | ||
Opcode.h | ||
Types.h |