Re: bug in float on Pentium

2001-04-14 Thread Matt Billenstein
It's not that you found a new bug or that floats are inaccurate (they are just less exact than doubles)... For example, if you make your program print some more digits, you'll get: 5483.9899781721271574497222900390625000 5483.9902343750 #i

Re: bug in float on Pentium

2001-04-13 Thread Jonathan Morton
> double x = 5483.99; > float y = 5483.99; >5483.99 >5483.990234 Well, duh. Floats are less accurate than doubles, so what? Read your C textbook again. -- from: Jonathan "Chromatix" Morton mail: [EMAIL PROTECTED] (not fo

Re: bug in float on Pentium

2001-04-13 Thread Jakob Østergaard
On Fri, Apr 13, 2001 at 07:23:24PM -0400, Joe wrote: > Not sure but I think I found a NEW bug. > > I know that there have been some issues with pentiums and floating point > arrithmatic, but this takes the cake... > > Linux Lserver.org 2.2.18 #43 SMP Fri Mar 9 14:19:41 EST 2001 i586 > unknown >

Re: bug in float on Pentium

2001-04-13 Thread Alan Cox
> Not sure but I think I found a NEW bug. > I know that there have been some issues with pentiums and floating point > arrithmatic, but this takes the cake... Hardly. Floats are inaccurate. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EM