@@ -415,14 +415,16 @@ end
415415 @test repr (- NaN ) == " NaN"
416416 @test repr (Float64 (pi )) == " 3.141592653589793"
417417 # issue 6608
418- @test sprint (show, 666666.6 , context= :compact => true ) == " 666667.0 "
418+ @test sprint (show, 666666.6 , context= :compact => true ) == " 6.66667e5 "
419419 @test sprint (show, 666666.049 , context= :compact => true ) == " 666666.0"
420420 @test sprint (show, 666665.951 , context= :compact => true ) == " 666666.0"
421421 @test sprint (show, 66.66666 , context= :compact => true ) == " 66.6667"
422- @test sprint (show, - 666666.6 , context= :compact => true ) == " -666667.0 "
422+ @test sprint (show, - 666666.6 , context= :compact => true ) == " -6.66667e5 "
423423 @test sprint (show, - 666666.049 , context= :compact => true ) == " -666666.0"
424424 @test sprint (show, - 666665.951 , context= :compact => true ) == " -666666.0"
425425 @test sprint (show, - 66.66666 , context= :compact => true ) == " -66.6667"
426+ @test sprint (show, - 498796.2749933266 , context= :compact => true ) == " -4.98796e5"
427+ @test sprint (show, 123456.78 , context= :compact => true ) == " 1.23457e5"
426428
427429 @test repr (1.0f0 ) == " 1.0f0"
428430 @test repr (- 1.0f0 ) == " -1.0f0"
0 commit comments