> Thats not a bug, thats just typical behaviour with
> floating point
> algorithm, try to compile and run this little C
> program on your linux machine:
>
> #include <stdio.h>
> void main() {
> double d1 = 0.3, d2 = 3, d3;
>
> d3 = d1 * d2;
>
> printf("%20.20lf", d3);
> }
But! Using egcs, C++, and my i686 Linux box I get .9
using float, double, or long double. What's the story?
Ken
_________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]