[Haskell-cafe] Re: Is a bug?

2009-07-26 Thread Linker
= f x* *Prelude> sqrt $ 3 + 4 + 9* *14.732050807568877* *Prelude>* On Mon, Jul 27, 2009 at 10:50, Linker wrote: > Hi,All! > I find out that diff between GHC and Hugs: > GHC: > > *Prelude> sqrt 3+4+9 > 14.732050807568877 > Prelude> sqrt 16 > 4.0 > Prelud

[Haskell-cafe] Is a bug?

2009-07-26 Thread Linker
Hi,All! I find out that diff between GHC and Hugs: GHC: *Prelude> sqrt 3+4+9 14.732050807568877 Prelude> sqrt 16 4.0 Prelude> sqrt $3+4+9 14.732050807568877* Hugs:*Hugs> sqrt $ 3+4+9* *4.0* *Hugs> sqrt 3+4+9* *14.7320508075689* Which one is right? Thanks. -- Regards, Link

[Haskell-cafe] Which one is right?

2009-06-24 Thread Linker
] Prelude> Thanks. -- Regards, Linker Lin linker.m@gmail.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe