Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Jimby Sharp (jimbysharpgmail.com)
Date: Fri Sep 28 2007 - 14:02:41 CDT
I don't get the same from C-style double arithmetics. Could you
provide a sample code that you believe should show the same behavior?
On 9/28/07, Michal Zalewski <lcamtufdione.cc> wrote:
> On Fri, 28 Sep 2007, carl hardwick wrote:
> > Firefox 188.8.131.52 result: 5.1000000000000005 (WRONG!)
> This is a proper behavior of IEEE 754 64-bit double float, which, IIRC, is
> precisely what ECMA standard mandates.
> You will get the same from any C-style 'double' arithmetics.
> > Internet Explorer 7 result: 5.1 (OK)
> They use a marginally higher precision. Now try 5.002-.001 - chances are,
> you will get 5.00999...
> - and nowhere actually delivers - arbitrary GMP-style precision.
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/