u32 X (f32 f) { union { f32 f; u32 n; } u; u.f = f; return u.n; }
Given the function X() is defined above, assume that u32 is a type-definition indicative of a 32-bit unsigned integer and that f32 is a type-definition indicative of a 32-bit floating-point number. Which of the following describes the purpose of the function defined above?
Reveal answer
Fill a bubble to check yourself