@@ -914,22 +914,22 @@ where
914
914
) ;
915
915
916
916
// very large output
917
- assert_eq ! ( to_string( f, 0.0 , Minus , 80000 , false ) , format!( "0.{:0>79999 }e0" , "" ) ) ;
918
- assert_eq ! ( to_string( f, 1.0e1 , Minus , 80000 , false ) , format!( "1.{:0>79999 }e1" , "" ) ) ;
919
- assert_eq ! ( to_string( f, 1.0e0 , Minus , 80000 , false ) , format!( "1.{:0>79999 }e0" , "" ) ) ;
917
+ assert_eq ! ( to_string( f, 0.0 , Minus , 50000 , false ) , format!( "0.{:0>49999 }e0" , "" ) ) ;
918
+ assert_eq ! ( to_string( f, 1.0e1 , Minus , 50000 , false ) , format!( "1.{:0>49999 }e1" , "" ) ) ;
919
+ assert_eq ! ( to_string( f, 1.0e0 , Minus , 50000 , false ) , format!( "1.{:0>49999 }e0" , "" ) ) ;
920
920
assert_eq ! (
921
- to_string( f, 1.0e-1 , Minus , 80000 , false ) ,
921
+ to_string( f, 1.0e-1 , Minus , 50000 , false ) ,
922
922
format!(
923
- "1.000000000000000055511151231257827021181583404541015625{:0>79945 }\
923
+ "1.000000000000000055511151231257827021181583404541015625{:0>49945 }\
924
924
e-1",
925
925
""
926
926
)
927
927
) ;
928
928
assert_eq ! (
929
- to_string( f, 1.0e-20 , Minus , 80000 , false ) ,
929
+ to_string( f, 1.0e-20 , Minus , 50000 , false ) ,
930
930
format!(
931
931
"9.999999999999999451532714542095716517295037027873924471077157760\
932
- 66783064379706047475337982177734375{:0>79901 }e-21",
932
+ 66783064379706047475337982177734375{:0>49901 }e-21",
933
933
""
934
934
)
935
935
) ;
@@ -1150,18 +1150,18 @@ where
1150
1150
) ;
1151
1151
1152
1152
// very large output
1153
- assert_eq ! ( to_string( f, 0.0 , Minus , 80000 ) , format!( "0.{:0>80000 }" , "" ) ) ;
1154
- assert_eq ! ( to_string( f, 1.0e1 , Minus , 80000 ) , format!( "10.{:0>80000 }" , "" ) ) ;
1155
- assert_eq ! ( to_string( f, 1.0e0 , Minus , 80000 ) , format!( "1.{:0>80000 }" , "" ) ) ;
1153
+ assert_eq ! ( to_string( f, 0.0 , Minus , 50000 ) , format!( "0.{:0>50000 }" , "" ) ) ;
1154
+ assert_eq ! ( to_string( f, 1.0e1 , Minus , 50000 ) , format!( "10.{:0>50000 }" , "" ) ) ;
1155
+ assert_eq ! ( to_string( f, 1.0e0 , Minus , 50000 ) , format!( "1.{:0>50000 }" , "" ) ) ;
1156
1156
assert_eq ! (
1157
- to_string( f, 1.0e-1 , Minus , 80000 ) ,
1158
- format!( "0.1000000000000000055511151231257827021181583404541015625{:0>79945 }" , "" )
1157
+ to_string( f, 1.0e-1 , Minus , 50000 ) ,
1158
+ format!( "0.1000000000000000055511151231257827021181583404541015625{:0>49945 }" , "" )
1159
1159
) ;
1160
1160
assert_eq ! (
1161
- to_string( f, 1.0e-20 , Minus , 80000 ) ,
1161
+ to_string( f, 1.0e-20 , Minus , 50000 ) ,
1162
1162
format!(
1163
1163
"0.0000000000000000000099999999999999994515327145420957165172950370\
1164
- 2787392447107715776066783064379706047475337982177734375{:0>79881 }",
1164
+ 2787392447107715776066783064379706047475337982177734375{:0>49881 }",
1165
1165
""
1166
1166
)
1167
1167
) ;
0 commit comments