@@ -113,16 +113,16 @@ end
113
113
114
114
show (io:: IO , x:: Float64 ) = _show (io, x, SHORTEST, 0 , true )
115
115
show (io:: IO , x:: Float32 ) = _show (io, x, SHORTEST_SINGLE, 0 , true )
116
- show (io:: IO , x:: Float16 ) = _show (io, x, PRECISION, 4 , true )
116
+ show (io:: IO , x:: Float16 ) = _show (io, x, PRECISION, 5 , true )
117
117
118
118
print (io:: IO , x:: Float32 ) = _show (io, x, SHORTEST_SINGLE, 0 , false )
119
- print (io:: IO , x:: Float16 ) = _show (io, x, PRECISION, 4 , false )
119
+ print (io:: IO , x:: Float16 ) = _show (io, x, PRECISION, 5 , false )
120
120
121
121
showcompact (io:: IO , x:: Float64 ) =
122
122
(Base. _limit_output:: Bool ) ? _show (io, x, PRECISION, 6 , false ) : _show (io, x, SHORTEST, 0 , false )
123
123
showcompact (io:: IO , x:: Float32 ) =
124
124
(Base. _limit_output:: Bool ) ? _show (io, x, PRECISION, 6 , false ) : _show (io, x, SHORTEST_SINGLE, 0 , false )
125
- showcompact (io:: IO , x:: Float16 ) = _show (io, x, PRECISION, 4 , false )
125
+ showcompact (io:: IO , x:: Float16 ) = _show (io, x, PRECISION, 5 , false )
126
126
127
127
# normal:
128
128
# 0 < pt < len ####.#### len+1
177
177
178
178
print_shortest (io:: IO , x:: Float64 , dot:: Bool ) = _print_shortest (io, x, dot, SHORTEST, 0 )
179
179
print_shortest (io:: IO , x:: Float32 , dot:: Bool ) = _print_shortest (io, x, dot, SHORTEST_SINGLE, 0 )
180
- print_shortest (io:: IO , x:: Float16 , dot:: Bool = false ) = _print_shortest (io, x, dot, PRECISION, 4 )
180
+ print_shortest (io:: IO , x:: Float16 , dot:: Bool = false ) = _print_shortest (io, x, dot, PRECISION, 5 )
181
181
print_shortest (io:: IO , x:: Union(FloatingPoint,Integer) ) = print_shortest (io, float (x), false )
182
182
183
183
end # module
0 commit comments