File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1495,6 +1495,7 @@ mod tests {
14951495 assert_eq ! ( inf. asinh( ) , inf) ;
14961496 assert_eq ! ( neg_inf. asinh( ) , neg_inf) ;
14971497 assert ! ( nan. asinh( ) . is_nan( ) ) ;
1498+ assert ! ( ( -0.0f32 ) . asinh( ) . is_sign_negative( ) ) ; // issue 63271
14981499 assert_approx_eq ! ( 2.0f32 . asinh( ) , 1.443635475178810342493276740273105f32 ) ;
14991500 assert_approx_eq ! ( ( -2.0f32 ) . asinh( ) , -1.443635475178810342493276740273105f32 ) ;
15001501 }
Original file line number Diff line number Diff line change @@ -1441,6 +1441,7 @@ mod tests {
14411441 assert_eq ! ( inf. asinh( ) , inf) ;
14421442 assert_eq ! ( neg_inf. asinh( ) , neg_inf) ;
14431443 assert ! ( nan. asinh( ) . is_nan( ) ) ;
1444+ assert ! ( ( -0.0f64 ) . asinh( ) . is_sign_negative( ) ) ; // issue 63271
14441445 assert_approx_eq ! ( 2.0f64 . asinh( ) , 1.443635475178810342493276740273105f64 ) ;
14451446 assert_approx_eq ! ( ( -2.0f64 ) . asinh( ) , -1.443635475178810342493276740273105f64 ) ;
14461447 }
You can’t perform that action at this time.
0 commit comments