Home
last modified time | relevance | path

Searched refs:MIN_POSITIVE (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/half/benches/
Dconvert.rs17 f32::MIN_POSITIVE, in bench_f32_to_f16()
37 f64::MIN_POSITIVE, in bench_f64_to_f16()
57 f16::MIN_POSITIVE, in bench_f16_to_f32()
77 f16::MIN_POSITIVE, in bench_f16_to_f64()
103 f32::MIN_POSITIVE, in bench_slice_f32_to_f16()
135 f64::MIN_POSITIVE, in bench_slice_f64_to_f16()
167 f16::MIN_POSITIVE, in bench_slice_f16_to_f32()
199 f16::MIN_POSITIVE, in bench_slice_f16_to_f64()
241 f32::MIN_POSITIVE, in bench_f32_to_bf16()
261 f64::MIN_POSITIVE, in bench_f64_to_bf16()
[all …]
/external/rust/crates/libm/src/math/
Dfma.rs173 let fltmin: f32 = (x0_ffffff8p_63 * f32::MIN_POSITIVE as f64 * r) as f32; in fma()
174 return f64::MIN_POSITIVE / f32::MIN_POSITIVE as f64 * fltmin as f64; in fma()
189 let tiny: f64 = f64::MIN_POSITIVE / f32::MIN_POSITIVE as f64 * r; in fma()
Dpow.rs416 use self::core::f64::{EPSILON, INFINITY, MAX, MIN, MIN_POSITIVE, NAN, NEG_INFINITY};
425 const POS_SMALL_FLOATS: &[f64] = &[(1.0 / 2.0), MIN_POSITIVE, EPSILON];
426 const NEG_SMALL_FLOATS: &[f64] = &[-(1.0 / 2.0), -MIN_POSITIVE, -EPSILON];
/external/rust/crates/half/src/
Dbinary16.rs185 pub const MIN_POSITIVE: f16 = f16::MIN_POSITIVE; constant
715 pub const MIN_POSITIVE: f16 = f16(0x0400u16); constant
994 assert_eq!(f16::MIN_POSITIVE, min_pos); in test_f16_consts()
1001 assert_eq!(core::f32::MIN_POSITIVE, min_pos32); in test_f16_consts()
1005 assert!(ten_to_min / 10.0 < f16::MIN_POSITIVE.to_f32()); in test_f16_consts()
1006 assert!(ten_to_min > f16::MIN_POSITIVE.to_f32()); in test_f16_consts()
1012 assert!(ten_to_min32 / 10.0 < f64::from(core::f32::MIN_POSITIVE)); in test_f16_consts()
1013 assert!(ten_to_min32 > f64::from(core::f32::MIN_POSITIVE)); in test_f16_consts()
Dbfloat.rs406 pub const MIN_POSITIVE: bf16 = bf16(0x0080u16); constant
/external/rust/crates/ryu/tests/
Ds2f_test.rs69 assert_eq!(f32::MIN_POSITIVE, s2f(b"1.1754944e-38").unwrap()); in test_min_max()
/external/rust/crates/num-traits/src/
Dfloat.rs756 min_positive_value() -> f32::MIN_POSITIVE;
830 min_positive_value() -> f64::MIN_POSITIVE;
1821 min_positive_value() -> $T::MIN_POSITIVE;
1899 min_positive_value() -> $T::MIN_POSITIVE;