Subject: Re: Fortran
To: None <jnelson@wiai.com>
From: Charles M. Hannum <root@ihack.net>
List: port-macppc
Date: 02/27/2001 19:05:23
On Tue, Feb 27, 2001 at 07:02:58PM -0800, jimtnelson@earthlink.net wrote:
>
> I have a seismic forward modeling program running fine on an i386
> machine, but has a big problem with NaN's on my mac 7500.  I think i
> have an alignment problem, but can't tell.  I would like to detect
> floating point exceptions.  I tried looked for the fpu_control.h include
> file described in "info g77", but can not find it.  Is there a provision
> for floating point exception handling for g77 on macppc?  If so, where
> do I find it?

man fpsetmask

I haven't tested it on PowerPC, but that's the interface we support on
a number of platforms.