-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
section: learnRelevant for the learn section on the webpageRelevant for the learn section on the webpage
Description
The Floating Point Number section of Fortran Best Practices could be extended with 2 subsections:
- comparison of two
realnumbers; - undesirability of using
realas iterator withindoloops (it was deprecated in Fortran95 standard).
The motivation.
It's common problem for all programming languages when beginner programmer tries to compare fooating points numbers especially using if statement. It would be usefull to demonstrate more accurate approaches (with use of intrinsic procedures?) of comparing numbers to avoid accuracy and computational issues.
The second problem comes from first one and could results in computational issues.
Metadata
Metadata
Assignees
Labels
section: learnRelevant for the learn section on the webpageRelevant for the learn section on the webpage