Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: [Full-disclosure] Firefox 2.0.0.7 has a very serious calculation bug |
|---|---|
| Date: | Fri, 28 Sep 2007 21:09:02 +0200 (CEST) |
On Sat, 29 Sep 2007, Jimby Sharp wrote:
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?
If you don't, it's presumably because the subtraction is optimized out by
the compiler, or because you printf() with an insufficient precision in
format spec. The following should do the trick:
volatile double a = 5.2;
volatile double b = 0.1;
main() { printf("%.16lf\n",a-b); }
/mz
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
| Previous by Date: | Re: [Full-disclosure] .NET REMOTING on port 31337, Simon Smith |
|---|---|
| Next by Date: | Re: [Full-disclosure] .NET REMOTING on port 31337, full-disclosure |
| Previous by Thread: | Re: [Full-disclosure] Firefox 2.0.0.7 has a very serious calculation bug, Jimby Sharp |
| Next by Thread: | Re: [Full-disclosure] Firefox 2.0.0.7 has a very serious calculation bug, Rodrigo Barbosa |
| Indexes: | [Date] [Thread] [Top] [All Lists] |