Skip to content

Commit

Permalink
fixed some comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerindividual committed May 9, 2023
1 parent 7938821 commit c3021a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/comparisons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn log2_benchmarks(c: &mut Criterion<CyclesPerByte>) {
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))))
Expand All @@ -48,7 +48,7 @@ fn ln_benchmarks(c: &mut Criterion<CyclesPerByte>) {
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())
Expand Down

0 comments on commit c3021a1

Please sign in to comment.