Re:DEC 64: Decimal Floating Point by Douglas Crockford
by lowbloodsugar on Tuesday September 23, 2014 @11:48AM
(#8355914)
>By giving programmers a choice of number types, programmers are required to waste their time making choices that don’t matter. Even worse, making a bad choice can lead to a loss of accuracy or destructive bugs.
So why not use BigDecimal? It's too slow? So performance is a reasonable selection criterion? But not performance of million ints vs a million DEC64s? o_0
Re:DEC 64: Decimal Floating Point by Douglas Crockford
by dragonwriter on Tuesday September 23, 2014 @12:22PM
(#8356133)
Crockford addresses that in passing at the end of the DEC64 page, claiming that IEEE 754's decimal floating point types were too inefficient to garner support.
So why not use BigDecimal? It's too slow? So performance is a reasonable selection criterion? But not performance of million ints vs a million DEC64s? o_0