mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-13 09:51:31 +02:00

Using reinterpret_cast (or a C-styled equivalent) to reinterpret integers as floating-point values and vice-versa invokes undefined behavior. Instead, use BitCast, which does this in a well-defined manner.