Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

sign priority

Intel_C_Intel
Employee
398 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
398 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