Skip to content

Define and use parameter for precision of floating point variables #2

@Beliavsky

Description

@Beliavsky

The codes use default REALs. It is generally recommended that modern Fortran programs define a working precision parameter for floating point variables and then declare variables using that, as described in the first answer to a question here. If this were done, it would be possible to run all of your codes in either single or double precision by just changing one line of code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions