- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
PROGRAM MAIN
PRINT *, 2.0**-2*-3
END
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
It is a bug that one doesn't get a standards warning for this - we'll fix that.
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page