Searched refs:FRAC_PI_4 (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/libm/src/math/ |
D | atan.rs | 147 (1.0, f64::consts::FRAC_PI_4), in sanity_check() 150 (-1.0, -f64::consts::FRAC_PI_4), in sanity_check()
|
/external/rust/crates/half/src/ |
D | binary16.rs | 290 pub const FRAC_PI_4: f16 = f16::FRAC_PI_4; constant 752 pub const FRAC_PI_4: f16 = f16(0x3A48u16); constant 1046 let frac_pi_4 = f16::from_f32(core::f32::consts::FRAC_PI_4); in test_f16_consts_from_f32() 1067 assert_eq!(f16::FRAC_PI_4, frac_pi_4); in test_f16_consts_from_f32() 1106 let frac_pi_4 = f16::from_f64(core::f64::consts::FRAC_PI_4); in test_f16_consts_from_f64() 1127 assert_eq!(f16::FRAC_PI_4, frac_pi_4); in test_f16_consts_from_f64()
|
D | bfloat.rs | 443 pub const FRAC_PI_4: bf16 = bf16(0x3F49u16); constant 757 let frac_pi_4 = bf16::from_f32(core::f32::consts::FRAC_PI_4); in test_bf16_consts_from_f32() 778 assert_eq!(bf16::FRAC_PI_4, frac_pi_4); in test_bf16_consts_from_f32() 815 let frac_pi_4 = bf16::from_f64(core::f64::consts::FRAC_PI_4); in test_bf16_consts_from_f64() 836 assert_eq!(bf16::FRAC_PI_4, frac_pi_4); in test_bf16_consts_from_f64()
|
/external/rust/crates/num-traits/src/ |
D | float.rs | 2297 FRAC_PI_4, 2324 (45.0, consts::FRAC_PI_4),
|