benchmarks icon indicating copy to clipboard operation
benchmarks copied to clipboard

precision problem for optimized.f90

Open Euler-37 opened this issue 4 years ago • 1 comments

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

Euler-37 avatar Mar 05 '22 03:03 Euler-37

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

certik avatar Mar 05 '22 04:03 certik