]> git.lizzy.rs Git - rust.git/blobdiff - library/portable-simd/crates/core_simd/tests/round.rs
Sync rust-lang/portable-simd@03f6fbb21e6050da2a05b3ce8f480c020b384916
[rust.git] / library / portable-simd / crates / core_simd / tests / round.rs
index 11d617a6c2c56a639a066025de2c0488ec1fa7c9..1a1bc9ebca76a15d0b5b1bb1b486801d20104168 100644 (file)
@@ -3,6 +3,8 @@
 macro_rules! float_rounding_test {
     { $scalar:tt, $int_scalar:tt } => {
         mod $scalar {
+            use std_float::StdFloat;
+
             type Vector<const LANES: usize> = core_simd::Simd<$scalar, LANES>;
             type Scalar = $scalar;
             type IntScalar = $int_scalar;