(j3.2006) Signaling NaN

Keith Bierman khbkhb
Fri Mar 11 11:54:48 EST 2011


http://download.oracle.com/docs/cd/E19205-01/819-5262/aeufh/index.html may
prove to be a useful starting point.

If the question is more "primative" viz. what does PRINT *, 0.0/0.0
produce, the answer on Solaris 11 on an aged x86 box:

khb at opensolaris~>f77 bork.f && a.out
NOTICE: Invoking /opt/SunStudioExpress/bin/f90 -f77 -ftrap=%none bork.f
bork.f:
 MAIN foo:
  -NaN
 Note: IEEE floating-point exception flags raised:
    Invalid Operation;
 See the Numerical Computation Guide, ieee_flags(3M)
khb at opensolaris~>

Please ignore the "opensolaris" that is simply the machine name, I didn't
change it when I upgraded from the last OpenSolaris to Solaris 11.

Oracle is still doing free distribitions, so it's easy to check for oneself
;>


Keith Bierman
khbkhb at gmail.com
kbiermank AIM
303 997 2749
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://j3-fortran.org/pipermail/j3/attachments/20110311/5a8e497d/attachment.html>



More information about the J3 mailing list