Skip to content

Commit

Permalink
Update for recent changes to core::simd
Browse files Browse the repository at this point in the history
  • Loading branch information
caelunshun committed Jan 1, 2024
1 parent cb0ec3f commit 1f4702d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/f32x.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ pub(crate) use tst::*;
mod constants;
pub(crate) use constants::*;

use core::simd::prelude::*;

/// Fast functions with 350.0 ULP error bound
mod fast;
pub use fast::{cosf as cos_fast, powf as pow_fast, sinf as sin_fast};
Expand Down Expand Up @@ -50,7 +52,7 @@ use crate::common::*;
use doubled::*;

use core::simd::{
LaneCount, Mask, Simd, SimdFloat, SimdPartialEq, SimdPartialOrd, SupportedLaneCount,
LaneCount, Mask, Simd, SupportedLaneCount,
};

type F32x<const N: usize> = Simd<f32, N>;
Expand Down
4 changes: 3 additions & 1 deletion src/f64x.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ pub(crate) use tst::*;
mod constants;
pub(crate) use constants::*;

use core::simd::prelude::*;

/// Functions with 0.5 ULP error bound
mod u05;
pub use u05::{
Expand Down Expand Up @@ -42,7 +44,7 @@ pub use u35::{

use crate::common::*;
use core::simd::{
LaneCount, Mask, Simd, SimdFloat, SimdPartialEq, SimdPartialOrd, SupportedLaneCount,
LaneCount, Mask, Simd, SupportedLaneCount,
};
use doubled::*;

Expand Down

0 comments on commit 1f4702d

Please sign in to comment.