Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

precision problem for optimized.f90 #29

Open
Euler-37 opened this issue Mar 5, 2022 · 1 comment
Open

precision problem for optimized.f90 #29

Euler-37 opened this issue Mar 5, 2022 · 1 comment

Comments

@Euler-37
Copy link
Contributor

Euler-37 commented Mar 5, 2022

y<0.8
should be changed as y<0.8_dp

and

a=0.01

should be changed as a=0.01_dp

and the result(using "Windows,GCC 11.2.0 " from 'equation.com',flag -Ofast)

Fortran:  0.45312500000000000            46337
C      : iters 46213 Execution time: 0.473000
@certik
Copy link
Member

certik commented Mar 5, 2022

Indeed. Do you want to submit a PR with these changes?

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

No branches or pull requests

2 participants