diff --git a/tests/euler.rs b/tests/euler.rs index 923a35d9..fa6ad2e6 100644 --- a/tests/euler.rs +++ b/tests/euler.rs @@ -36,15 +36,10 @@ trait EulerEpsilon { const E_EPS: f32; } impl EulerEpsilon for f32 { - const Q_EPS: f32 = 1e-5; - - // The scalar-math and wasm paths seems to use a particularly bad implementation of the trig functions - #[cfg(any(feature = "scalar-math", target_arch = "wasm32"))] + const Q_EPS: f32 = 1e-4; const E_EPS: f32 = 2e-4; - - #[cfg(not(any(feature = "scalar-math", target_arch = "wasm32")))] - const E_EPS: f32 = 1e-5; } + impl EulerEpsilon for f64 { const Q_EPS: f32 = 1e-8; const E_EPS: f32 = 1e-8;