Paul Johnson <[email protected]> wrote: > On Fri, Jul 17, 2009 at 12:26:58PM +0200, Thomas Bätzler wrote: > > Octavian Rasnita <[email protected]> asked: > > > I have tried the following calculation with ActivePerl 5.10.0 build > > > 1004 under Windows XP Pro: > > > > > > print 0.79 - 0.798; > > > > > > And it gave the following result: > > > -0.00800000000000001 > > > > > > which is obviously wrong. > > > > No, it isn't. > > Well ... yes, it is.
Let's settle on "the result isn't what you'd expect if you had no prior experience with machine numbers" ;-) Cheers, Thomas -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
