Software Archive
Read-only legacy content

sign priority

Intel_C_Intel
Employee
367 Views
Here is a question from comp.lang.fortran (By corbett@lupa.eng.sun.com on 22 August 2001 3:57 PM). I think it is very interesting to see how it performs. I compiled this three-line program with CVF6.1a under win2k. It printed 64.000 (I expected -0.75!!)

PROGRAM MAIN
PRINT *, 2.0**-2*-3
END
0 Kudos
1 Reply
Steven_L_Intel1
Employee
367 Views
I saw the same posting. Read the LRM section on Numeric Expressions, especially the text under Examples.

It is a bug that one doesn't get a standards warning for this - we'll fix that.

Steve
0 Kudos
Reply