Beliavsky / FortranTip

Short instructional Fortran codes associated with Twitter @FortranTip
https://zmoon.github.io/FortranTipBrowser/
The Unlicense
64 stars 14 forks source link

OOPS: Roundoff pitfalls #9

Open Beliavsky opened 2 years ago

Beliavsky commented 2 years ago

Roundoff pitfalls such as assigning a real to an integer, using MOD with REAL arguments, assigning a constant value without a type like A=1234567.0 ! sans d0 suffix suggested by @urbanjost