The 32-bit integer 0x3f000000 is literally the same thing as the 32-bit floating point value 0.5
If we write that Quake 3 "fast" inverse square root, the machine code does not have any casting or type changes, but the C does and the Rust does, because in machine code the operations were typed but in these high level languages the values were typed.