from TP decomp
| 215 | |
| 216 | // from TP decomp |
| 217 | f32 get_ufloat_1() |
| 218 | { |
| 219 | // !@bug UB: in C++ it's not legal to read from an union member other |
| 220 | // than the last one that was written to. |
| 221 | union |
| 222 | { |
| 223 | f32 f; |
| 224 | u32 s; |
| 225 | } out; |
| 226 | out.s = (this->get() >> 9) | 0x3f800000; |
| 227 | return out.f - 1; |
| 228 | } |
| 229 | |
| 230 | void setSeed(u32 Seed) |
| 231 | { |
no test coverage detected