News for hackers. Stuff that matters.
Re:DEC64: Decimal Floating Point by curveship on Sunday March 09, 2014 @09:42AM (#7368424)
> There are also 255 representations of almost all representable numbers.

This isn't true. Only zero has 255 representations. All other numbers are limited by the size of the coefficient, 16 digits. So a number with 1 significant digit would have 16 representations, one with two would have 15, etc. Not that I'm defending the format, but if we're critiquing it for being sloppy, we need to be careful about such things.

Re:DEC64: Decimal Floating Point by StefanKarpinski on Sunday March 09, 2014 @10:51AM (#7368570)
Good point, thanks for the correction. There is less waste than I thought, but the non-canonical representation issues are still just as bad.