Re: floating-point math problem in Cygwin 1.7?

2009-12-25 Thread mike marchywka
On 12/25/09, Marco Atzeri > wrote: > --- Gio 24/12/09, Linh Phan ha scritto: > >> Hi, >> >> I have wondering why when I do floating-point math >> in Cygwin 1.7, Cygwin does not output the "correct" result, >> eg: >> >> main () { >> double qcb[4] = {0.41585680180318363, >> 0.70823637211274604,

R: floating-point math problem in Cygwin 1.7?

2009-12-24 Thread Marco Atzeri
--- Gio 24/12/09, Linh Phan ha scritto: > Hi, > >   I have wondering why when I do floating-point math > in Cygwin 1.7, Cygwin does not output the "correct" result, > eg: > > main () { >   double qcb[4] = {0.41585680180318363, > 0.70823637211274604, 0.089200955545759006,  > -0.56347808399291521

Re: floating-point math problem in Cygwin 1.7?

2009-12-24 Thread Eric Backus
Linh Phan usc.edu> writes: > I have wondering why when I do floating-point math in Cygwin 1.7, Cygwin does not output the "correct" > result, eg: > > qca = [-0.623718486146499718, 0.736824293298044886, -0.260654850643024127, > 0.011147182658310384] CORRECT (LINUX/SOLARIS) > qca = [-0.62371848

floating-point math problem in Cygwin 1.7?

2009-12-24 Thread Linh Phan
Hi, I have wondering why when I do floating-point math in Cygwin 1.7, Cygwin does not output the "correct" result, eg: main () { double qcb[4] = {0.41585680180318363, 0.70823637211274604, 0.089200955545759006, -0.56347808399291521}; double qba[4] = {0.09648538897087118, -0.3703203736251