Home
last modified time | relevance | path

Searched refs:FRAC_PI_8 (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/half/src/
Dbinary16.rs302 pub const FRAC_PI_8: f16 = f16::FRAC_PI_8; constant
756 pub const FRAC_PI_8: f16 = f16(0x3648u16); constant
1048 let frac_pi_8 = f16::from_f32(core::f32::consts::FRAC_PI_8); in test_f16_consts_from_f32()
1069 assert_eq!(f16::FRAC_PI_8, frac_pi_8); in test_f16_consts_from_f32()
1108 let frac_pi_8 = f16::from_f64(core::f64::consts::FRAC_PI_8); in test_f16_consts_from_f64()
1129 assert_eq!(f16::FRAC_PI_8, frac_pi_8); in test_f16_consts_from_f64()
Dbfloat.rs447 pub const FRAC_PI_8: bf16 = bf16(0x3EC9u16); constant
759 let frac_pi_8 = bf16::from_f32(core::f32::consts::FRAC_PI_8); in test_bf16_consts_from_f32()
780 assert_eq!(bf16::FRAC_PI_8, frac_pi_8); in test_bf16_consts_from_f32()
817 let frac_pi_8 = bf16::from_f64(core::f64::consts::FRAC_PI_8); in test_bf16_consts_from_f64()
838 assert_eq!(bf16::FRAC_PI_8, frac_pi_8); in test_bf16_consts_from_f64()
/external/rust/crates/num-traits/src/
Dfloat.rs2301 FRAC_PI_8,
2322 (22.5, consts::FRAC_PI_8),