|
|
Subscribe / Log in / New account

The end of the accounting search

The end of the accounting search

Posted May 11, 2023 17:07 UTC (Thu) by cwitty (guest, #4600)
In reply to: The end of the accounting search by nowster
Parent article: The end of the accounting search

That's scary. Representing money with (binary) floating point is pretty bad, but using single-precision floating point is amazingly bad. That can't even represent £16,777,217; you'd have to use a value that was off by one GBP (either up or down). And if you don't want to gain or lose as much as £0.01 in accounting error, you'd need to restrict yourself to numbers much less than a million.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds