Fortran-FOSS-Programmers / Fortran-FOSS-Programmers/Best_Practices
Kind parameters
Open
- Dominant language
- No language data
- Stars
- 70
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
What would be the best way of specifying the kind parameter? Should we always use the `selected_*_kind` function,
`integer, parameter :: dp = selected_real_kind(15, 307)`
`real(dp) :: x`
or are there better alternatives? According to [this](https://software.intel.com/en-us/blogs/2017/03/27/doctor-fortran-in-it-takes-all-kinds) blog post the `ISO_FORTRAN_ENV` constants for kinds do not always work as intended. Also, is it a good habit to always specify the kind parameter for integers?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.