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
> 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
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
>
> 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
4 matches
Mail list logo