Home
last modified time | relevance | path

Searched refs:to_bits (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/minimal-lexical/src/
Dlibm.rs91 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 …]
Dnum.rs145 fn to_bits(self) -> u64; in to_bits() method
176 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() method
248 f32::to_bits(self) as u64 in to_bits()
293 fn to_bits(self) -> u64 { in to_bits() method
294 f64::to_bits(self) in to_bits()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
Dto_toml.py46 def to_bits(self): member in FloatMixin
57 return '{0:0{1}x}'.format(self.to_bits(), self.value.itemsize * 2)
61 return self.to_bits() & self.EXPONENT_MASK == 0
65 return self.to_bits() & self.EXPONENT_MASK == self.EXPONENT_MASK
69 return self.is_special() and self.to_bits() & self.MANTISSA_MASK != 0
73 return self.is_special() and self.to_bits() & self.MANTISSA_MASK == 0
80 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))
Dmain.rs212 let int: u64 = float.to_bits(); in run_test()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-golang/
Dmain.rs196 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()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs46530 impl_is_zero!(f32, |x: f32| x.to_bits() == 0);
46531 impl_is_zero!(f64, |x: f64| x.to_bits() == 0);