Lines Matching refs:bf16
234 |b: &mut Bencher<'_>, i: &f32| b.iter(|| bf16::from_f32(*i)), in bench_f32_to_bf16()
254 |b: &mut Bencher<'_>, i: &f64| b.iter(|| bf16::from_f64(*i)), in bench_f64_to_bf16()
274 |b: &mut Bencher<'_>, i: &bf16| b.iter(|| i.to_f32()), in bench_bf16_to_f32()
276 bf16::ZERO, in bench_bf16_to_f32()
277 bf16::NEG_ZERO, in bench_bf16_to_f32()
278 bf16::ONE, in bench_bf16_to_f32()
279 bf16::MIN, in bench_bf16_to_f32()
280 bf16::MAX, in bench_bf16_to_f32()
281 bf16::MIN_POSITIVE, in bench_bf16_to_f32()
282 bf16::NEG_INFINITY, in bench_bf16_to_f32()
283 bf16::INFINITY, in bench_bf16_to_f32()
284 bf16::NAN, in bench_bf16_to_f32()
285 bf16::E, in bench_bf16_to_f32()
286 bf16::PI, in bench_bf16_to_f32()
294 |b: &mut Bencher<'_>, i: &bf16| b.iter(|| i.to_f64()), in bench_bf16_to_f64()
296 bf16::ZERO, in bench_bf16_to_f64()
297 bf16::NEG_ZERO, in bench_bf16_to_f64()
298 bf16::ONE, in bench_bf16_to_f64()
299 bf16::MIN, in bench_bf16_to_f64()
300 bf16::MAX, in bench_bf16_to_f64()
301 bf16::MIN_POSITIVE, in bench_bf16_to_f64()
302 bf16::NEG_INFINITY, in bench_bf16_to_f64()
303 bf16::INFINITY, in bench_bf16_to_f64()
304 bf16::NAN, in bench_bf16_to_f64()
305 bf16::E, in bench_bf16_to_f64()
306 bf16::PI, in bench_bf16_to_f64()