Re: Correct way to build .deb with -mieee
On Tue, 19 Jun 2001, Adam C Powell IV wrote:
> I have a program (petscgraphics) which, when built without -mieee, fails
> with SIGFPE (division by zero); with -mieee, works perfectly (still
> divides by zero, but works anyway).
Please excuse my ignorance (I know nothing about petscgraphics),
but this problem could almost surely be solved in source code.
("Works anyway, but still divides by zero" --- brrr --- Is there
any chance to use some limits to prevent this to happen? --- Does
the code work on other architectures by chance? --- On all other
Just speaking from my own experience. In most cases I have seen,
the need for denormals came from erroneous source code and not
from a real dependency on that special feature of a CPU.