On Saturday 12 November 2005 04:15, Bartosz Fabianowski wrote:
> >>2 + 3 = 5.000000000000004440892098500626161694527
>
> This bug has been present for at least a few months already. I was
> experiencing this behavior on 5.4 and am still getting it after an
> upgrade to 6.0. Somehow, rounding is not applied and the double value
> gets printed in all its glory.


I'm pleased to announce that in KDE 3.5, thanks to the GMP library (only 
261838 bytes, installed), kcalc can correctly calculate that 2 + 3  = 5. I am 
impressed.

(BTW, 2 and 3 have exact IEEE 894 double representations, and the addition 
causes no trouble either, so the junk at the end really _is_ junk.)

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot

Attachment: pgpNbHr7EvYSw.pgp
Description: PGP signature

_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to