From: Christopher Dicely Date: 2010-05-14T12:19:57+09:00 Subject: Re: ruby 1.9+ , floats, and decimal On Fri, May 7, 2010 at 5:40 PM, George Neuner wrote: > On Mon, 19 Apr 2010 00:24:56 -0500, Christopher Dicely > wrote: > >>On Sun, Apr 18, 2010 at 8:07 PM, botp wrote: >> >>>shouldn't it be time for ruby to default to "real" decimal instead >>>of float? >> >>I think decimal floating point (as supported in the 2008 version of >>IEEE 754) would be a good idea. > > The decimal formats in 754-2008 are *storage* formats only ... the > math specification is still binary. I haven't read the spec myself, but every published reference to it I've seen says it specifies decimal floating point arithmetic as well as storage formats (the latter being somewhat pointless without the former.)