Home
last modified time | relevance | path

Searched refs:FRAC_PI_4 (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/libm/src/math/
Datan.rs147 (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/
Dbinary16.rs290 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()
Dbfloat.rs443 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/
Dfloat.rs2297 FRAC_PI_4,
2324 (45.0, consts::FRAC_PI_4),