mirror of
https://github.com/RGBCube/serenity
synced 2025-10-30 00:42:07 +00:00
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 | ||