This is floating point rounding causing you hassles. Read this for
more info: http://docs.sun.com/source/806-3568/ncg_goldberg.html (that
gest very technical though :) )

On Sun, Sep 5, 2010 at 10:01, Raja Iskandar Shah
<[email protected]> wrote:
> guys, need some help testing this out
>
> taufiq has detected a bug involving a plus minus operations that should
> result in zero but does not !
>
> try the following in openoffice calc, ms excel, javascript, google calc
>
> =161001.165-100000.009-60000.7-1000.456 // will not return zero
>
> =161001.165+(-100000.009-60000.7-1000.456) // this does
>
> =((161001.165-100000.009)-60000.7)-1000.456 // and this not
>
> read the test case :
> http://software.krimnet.com/cpu-precision-bug-plus-minus-operation.htm#comment-491
>
> so far we have tested on intel atom, intel core2, intel xeon
>
> need to see if the same problem happens on amd cpu
>
>
> --
> Join Open Source Developers Club Malaysia http://www.osdc.my/
>
> Facebook Fan page
>
> http://www.facebook.com/group.php?gid=98685301577
>
> http://www.facebook.com/OSDC.my
>
> You received this message because you are subscribed to the Google
>
> Groups "OSDC.my Mailing List" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/osdcmy-list?hl=en



-- 
Walter Heck
Founder @ OlinData (http://olindata.com)

-- 
Join Open Source Developers Club Malaysia http://www.osdc.my/

Facebook Fan page

http://www.facebook.com/group.php?gid=98685301577

http://www.facebook.com/OSDC.my

You received this message because you are subscribed to the Google

Groups "OSDC.my Mailing List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/osdcmy-list?hl=en

Kirim email ke