Bug#470318: i387 versus SSE versus MPFR (gcc bug)

2009-04-17 Thread Vincent Lefevre
On 2008-04-17 14:02:17 +0400, Alexei Sheplyakov wrote: I don't think it's a bug. Rather, it's a wrong expectation from the user side. You are comparing results of FP calculation done on 3 different platforms: ix87, sse2, and MPFR, and expect them to be the same. I think your expectation is

Bug#470318: i387 versus SSE versus MPFR (gcc bug)

2008-04-18 Thread Ondrej Certik
Hi Alexei! On Thu, Apr 17, 2008 at 12:02 PM, Alexei Sheplyakov [EMAIL PROTECTED] wrote: [...] I'd like to trace this bug down and figure out if it's a bug in gcc, or somewhere else. I don't think it's a bug. Rather, it's a wrong expectation from the user side. You are comparing

Bug#470318: i387 versus SSE versus MPFR (gcc bug)

2008-04-17 Thread Alexei Sheplyakov
Hello! Ondrej Certik [EMAIL PROTECTED] writes: $ ./a.out -4.1974624032366689e+117 -8.4657370748010221e-47 4.9581771393902231e+163 and with -O: $ gcc -W -Wall -O quot.c $ ./a.out -4.1974624032366689e+117 -8.4657370748010221e-47 4.9581771393902237e+163 produces different