Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mark pure subroutines and functions as pure where possible #712

Copy link
Copy link
Closed
@sbryngelson

Description

@sbryngelson
Issue body actions

https://stackoverflow.com/questions/30264729/proper-use-of-the-pure-keyword-fortran

https://stackoverflow.com/questions/9813494/pure-subroutines-in-fortran-compiler-optimization

It is a good idea to mark pure subroutines (without side effects) as pure. This means that the routine only has intent() and does not modify module variables (which is a side effect).

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.