File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
library/coretests/tests/floats Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -332,15 +332,15 @@ fn test_trunc() {
332332#[ cfg( target_has_reliable_f128_math) ]
333333fn test_fract ( ) {
334334 assert_eq ! ( 1.0f128 . fract( ) , 0.0f128 ) ;
335- assert_eq ! ( 1.3f128 . fract( ) , 0.300000000000000044408920985006261617f128 ) ;
335+ assert_eq ! ( 1.3f128 . fract( ) , 0.300000000000000000000000000000000039f128 ) ;
336336 assert_eq ! ( 1.5f128 . fract( ) , 0.5f128 ) ;
337337 assert_eq ! ( 1.7f128 . fract( ) , 0.7f128 ) ;
338338 assert_eq ! ( 0.0f128 . fract( ) , 0.0f128 ) ;
339339 assert_eq ! ( ( -0.0f128 ) . fract( ) , -0.0f128 ) ;
340340 assert_eq ! ( ( -1.0f128 ) . fract( ) , -0.0f128 ) ;
341- assert_eq ! ( ( -1.3f128 ) . fract( ) , -0.300000000000000044408920985006261617f128 ) ;
341+ assert_eq ! ( ( -1.3f128 ) . fract( ) , -0.300000000000000000000000000000000039f128 ) ;
342342 assert_eq ! ( ( -1.5f128 ) . fract( ) , -0.5f128 ) ;
343- assert_eq ! ( ( -1.7f128 ) . fract( ) , -0.699999999999999955591079014993738383f128 ) ;
343+ assert_eq ! ( ( -1.7f128 ) . fract( ) , -0.699999999999999999999999999999999961f128 ) ;
344344}
345345
346346#[ test]
You can’t perform that action at this time.
0 commit comments