We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db80cfb commit 1606eeaCopy full SHA for 1606eea
src/math/j1f.rs
@@ -371,8 +371,7 @@ mod tests {
371
fn test_y1f_2002() {
372
//allow slightly different result on x87
373
let res = y1f(2.0000002_f32);
374
- if res != -0.10703231_f32 {
375
- assert_eq!(res, -0.10703229_f32);
376
- }
+ if cfg!(all(target_arch = "x86", not(target_feature = "sse2"))) && (res == -0.10703231_f32) { return };
+ assert_eq!(res, -0.10703229_f32);
377
}
378
0 commit comments