Searched refs:to_bits (Results 1 – 6 of 6) sorted by relevance
91 hx = x.to_bits() as i32; in powf()92 hy = y.to_bits() as i32; in powf()234 is = t1.to_bits() as i32; in powf()249 ix = ax.to_bits() as i32; in powf()273 is = s_h.to_bits() as i32; in powf()286 is = t_h.to_bits() as i32; in powf()294 is = p_h.to_bits() as i32; in powf()302 is = t1.to_bits() as i32; in powf()308 is = y.to_bits() as i32; in powf()313 j = z.to_bits() as i32; in powf()[all …]
145 fn to_bits(self) -> u64; in to_bits() method176 self.to_bits() & Self::EXPONENT_MASK == 0 in is_denormal()186 let bits = self.to_bits(); in exponent()194 let bits = self.to_bits(); in mantissa()247 fn to_bits(self) -> u64 { in to_bits() method248 f32::to_bits(self) as u64 in to_bits()293 fn to_bits(self) -> u64 { in to_bits() method294 f64::to_bits(self) in to_bits()
46 def to_bits(self): member in FloatMixin57 return '{0:0{1}x}'.format(self.to_bits(), self.value.itemsize * 2)61 return self.to_bits() & self.EXPONENT_MASK == 065 return self.to_bits() & self.EXPONENT_MASK == self.EXPONENT_MASK69 return self.is_special() and self.to_bits() & self.MANTISSA_MASK != 073 return self.is_special() and self.to_bits() & self.MANTISSA_MASK == 080 bits = self.to_bits()88 bits = self.to_bits()130 self.assertEqual(float32.to_bits(), np.uint32(1065353216))191 self.assertEqual(float64.to_bits(), np.uint64(4607182418800017408))
212 let int: u64 = float.to_bits(); in run_test()
196 assert_eq!(hex32, format!("{:0>8x}", float32.to_bits())); in run_test()197 assert_eq!(hex64, format!("{:0>16x}", float64.to_bits())); in run_test()
46530 impl_is_zero!(f32, |x: f32| x.to_bits() == 0);46531 impl_is_zero!(f64, |x: f64| x.to_bits() == 0);