|
![](/i/fill.gif) |
Thorsten Froehlich <tho### [at] trf de> wrote:
: Further, the documentation should make clear that floating-point math is
: _not_ precise. Especially in long operations the error will build up
That's right. The key problem here is the value 0.1. It can't be accurately
represented in binary format.
We have the same problem with the decimal format with values like 1/3;
it can't be represented accurately.
It is NOT a bug. It's just a hardware limitation.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |