On Mon, Dec 15, 2003 at 03:47:22PM +1100, mike V wrote: > What is the precission with which floating point operations are performed ? > The following example shows an incorrect answer in the second case ? > How can this problem be addressed i.e. the apparent precission seems to be > a sevre limitation to any scientific computation ? > > Prelude> 1000.11 - 0.1 > 1000.01 > Prelude> 10000.11 - 0.1 > 10000.0
Hugs used to represent both Float and Double as float, but the Nov 2003 release uses float and double respectively (on most architectures). _______________________________________________ Hugs-Bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/hugs-bugs
