$ 0 0 Definitely looks like a bug. [IEEE-754][1] states that even a float should be able to hold 5e18. [1]: http://en.wikipedia.org/wiki/IEEE_754