Skip to content

Kind parameters #17

@raullaasner

Description

@raullaasner

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 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions