Julia uses the Grisu algorithm to get the shortest representation of a floating point number such that it can be parsed back to the same binary representation. That way 1.0000000000 is printed as 1.0 and 1/3 is printed with just enough 3 digits after the point such that 1/3 == 0.33333...
- [julia-users] How does Julia decide where to truncate display... gael . mcdon
- [julia-users] How does Julia decide where to truncate di... Ivar Nesje
