Function rs_pbrt::core::pbrt::float_to_bits
source · pub fn float_to_bits(f: f32) -> u32
Expand description
Use unsafe std::mem::transmute_copy to convert f32 to u32.
pub fn float_to_bits(f: f32) -> u32
Use unsafe std::mem::transmute_copy to convert f32 to u32.