Searched refs:to_bits (Results 1 – 3 of 3) sorted by relevance
140 f32::from_bits(x.to_bits().swap_bytes()) in byte_swap_f32()147 f64::from_bits(x.to_bits().swap_bytes()) in byte_swap_f64()
999 unorm_to_unorm (uint32_t val, int from_bits, int to_bits) in unorm_to_unorm() argument1009 if (from_bits >= to_bits) in unorm_to_unorm()1010 return val >> (from_bits - to_bits); in unorm_to_unorm()1013 result = val << (to_bits - from_bits); in unorm_to_unorm()1023 if (from_bits < to_bits) \ in unorm_to_unorm()
1077 x == f32::from_bits(x.to_bits().swap_bytes()) in palindrome_32()1080 x == f64::from_bits(x.to_bits().swap_bytes()) in palindrome_64()