Bug#175809: Strange or incorrect floating point behaviour
On Thu, Jan 09, 2003 at 11:51:55AM +0100, Gerhard Wesp wrote:
> > The compiler is certainly allowed to compute 2.5*u at compile time. It
> I'd suggest -ffloat-store should also apply to such compile-time
> computations to be consistent. Does this sound reasonable?
Look at the 3.2 documentation...
Use `-ffloat-store' for such programs, after
modifying them to store all pertinent intermediate computations
Do you get the expected results if you do this?
MontaVista Software Debian GNU/Linux Developer