From c3021a10beb9c26469dcc41c61fed6111826aca9 Mon Sep 17 00:00:00 2001 From: burgerguy Date: Tue, 9 May 2023 19:00:35 -0400 Subject: [PATCH] fixed some comparisons --- benches/comparisons.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/comparisons.rs b/benches/comparisons.rs index 099ce2f..7a58c0d 100644 --- a/benches/comparisons.rs +++ b/benches/comparisons.rs @@ -36,7 +36,7 @@ fn log2_benchmarks(c: &mut Criterion) { b.iter(|| unsafe { (black_box(f32x8::splat(0.0_f32))).log2_fast_approx::<0>() }) }); c.bench_function("fath f32x8 log2 precision: 3 range-reduced: true", |b| { - b.iter(|| unsafe { (black_box(f32x8::splat(0.0_f32))).log2_fast_approx::<0>() }) + b.iter(|| unsafe { (black_box(f32x8::splat(0.0_f32))).log2_fast_approx::<3>() }) }); c.bench_function("sleef f32x8 log2 3.5 ULP range-reduced: true", |b| { b.iter(|| log2_u35(black_box(f32x8::splat(0.0_f32)))) @@ -48,7 +48,7 @@ fn ln_benchmarks(c: &mut Criterion) { b.iter(|| unsafe { (black_box(f32x8::splat(0.0_f32))).ln_fast_approx::<0>() }) }); c.bench_function("fath f32x8 ln precision: 3 range-reduced: true", |b| { - b.iter(|| unsafe { (black_box(f32x8::splat(0.0_f32))).ln_fast_approx::<0>() }) + b.iter(|| unsafe { (black_box(f32x8::splat(0.0_f32))).ln_fast_approx::<3>() }) }); c.bench_function("sleef f32x8 ln 3.5 ULP range-reduced: true", |b| { b.iter(|| (black_box(f32x8::splat(0.0_f32))).ln())