floating point multiplication BUG in C (cc compiler)
Richard Flamsholt S0rensen
richard at iesd.auc.dk
Mon Oct 22 21:28:30 AEST 1990
In article <4032 at goanna.cs.rmit.oz.au> ok at goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes:
> The problem here is that a number like 0.64 *CANNOT* *POSSIBLY* be
> represented exactly in (finite-precision) floating-point. At all.
> In *any* programming language. [...]
At least when using *binary* logic as your hardware ;-)
--
/Richard Flamsholt
richard at iesd.auc.dk
More information about the Comp.lang.c
mailing list