[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Correct way to build .deb with -mieee



On Tue, 19 Jun 2001, Stefan Schroepfer wrote:

> 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
> architectures?).
> 
> 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.

This is very true.  Not knowing what petscgraphics does, it might be
possible to modify the source so that it properly works around the
conditions that would cause an FP exception.

C



Reply to: