Other Software > Developer's Corner
What Every Computer Scientist Should Know About Floating-Point Arithmetic
housetier:
Here is a not-so-long aticle about problems with floating point arithmetic. I thought about opening a new thread but luckily I used my quicksearch-hack to find this thread.
...do we ever stop to think what goes on inside that floating point unit and whether we can really trust it?
I hate to cast aspersions on its good name but when I hear stories of space craft crashing, inconsistent information on bank statements and pensioners being short changed (...), I start to realise that there is a real danger of misusing floating point numbers...
-http://www.regdeveloper.co.uk/2006/08/12/floating_point_approximation/
--- End quote ---
© The Register.
I will look out for the follow-up article and hope it will be good.
ewemoa:
This thread was before my time :)
I think the following points to the follow-up article referred to by housetier:
Floating point numbers - what else can be done?
ewemoa:
IIUC, in current versions of JavaScript the only kinds of numbers there are are IEEE 754...
Renegade:
IIUC, in current versions of JavaScript the only kinds of numbers there are are IEEE 754...
-ewemoa (January 27, 2012, 04:22 AM)
--- End quote ---
So, is that enough for me to get some of you all on the JavaCrap hatred bandwagon? :P
(I ******* hate JavaCrap.)
Navigation
[0] Message Index
[*] Previous page
Go to full version