File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -106,11 +106,10 @@ pub fn default_ulp(ctx: &CheckCtx) -> u32 {
106
106
}
107
107
108
108
if cfg ! ( target_arch = "x86" ) {
109
- match ctx. fn_ident {
110
- // Input `fma(0.999999999999999, 1.0000000000000013, 0.0) = 1.0000000000000002` is
111
- // incorrect on i586 and i686.
112
- Id :: Fma => ulp = 1 ,
113
- _ => ( ) ,
109
+ // Input `fma(0.999999999999999, 1.0000000000000013, 0.0) = 1.0000000000000002` is
110
+ // incorrect on i586 and i686.
111
+ if ctx. fn_ident == Id :: Fma {
112
+ ulp = 1 ,
114
113
}
115
114
}
116
115
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ impl Status {
70
70
/// The default result for division is +/-inf based on operand sign. For `logB`, the default
71
71
/// result is -inf.
72
72
/// `x / y` when `x != 0.0` and `y == 0.0`,
73
-
74
73
#[ cfg_attr( not( feature = "unstable-public-internals" ) , allow( dead_code) ) ]
75
74
pub const DIVIDE_BY_ZERO : Self = Self ( 1 << 2 ) ;
76
75
You can’t perform that action at this time.
0 commit comments