You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I see you use "Real(kind=8)" and similar a lot. A real kind with value 8 might not exist on a compiler/machine, or might mean different things than what you seem to expect (an 8-byte real). The portable way to use KIND numbers is to ask the compiler, either via SELECTED_REAL_KIND/SELECTED_INT_KIND where you state your desired precision and range, or via the defined constants INT32/INT64/REAL32/REAL64 in intrinsic module ISO_FORTRAN_ENV where you state the storage size in bits needed.
The text was updated successfully, but these errors were encountered:
Hello,
I see you use "Real(kind=8)" and similar a lot. A real kind with value 8 might not exist on a compiler/machine, or might mean different things than what you seem to expect (an 8-byte real). The portable way to use KIND numbers is to ask the compiler, either via SELECTED_REAL_KIND/SELECTED_INT_KIND where you state your desired precision and range, or via the defined constants INT32/INT64/REAL32/REAL64 in intrinsic module ISO_FORTRAN_ENV where you state the storage size in bits needed.
The text was updated successfully, but these errors were encountered: