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
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