News for hackers. Stuff that matters.
Re:What Every Computer Scientist Should Know About Floating-... by mamcx on Monday June 29, 2020 @11:16AM (#23678363)
> I've often used floating point for currency

The question is WHY? Because decimal types are barely second class citizens across the stack. Is similar with dates.

Bad defaults are bad, and requiere stupid amounts of workarounds.

And just because excel do it?

https://en.wikipedia.org/wiki/Numeric_precision_in_Microsoft...

Excel is amalgamation of surprises that are not fixed.And when you put the CORRECT results, the users demand that we give the same wrong results as excel!

There are no comments on this comment yet.