Skip to content

Conversation

@wkliao
Copy link
Member

@wkliao wkliao commented Aug 3, 2025

Unlike C, the Fortran standard does not mandate or prohibit short-circuit
evaluation for logical expressions. Thus, Fortran does not guarantee that
the .AND. operator will skip evaluating the second logical expression if
the first one is false.

@wkliao wkliao merged commit b577aa8 into master Aug 3, 2025
3 of 4 checks passed
@wkliao wkliao deleted the fortran_and branch August 3, 2025 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants