Open
Description
Fortran Exercise 1: Calculating Pi
A program to calculate pi is being used as a sample code to
compare how compiler options affect run time.
However, the program is producing an incorrect value for pi.
Take a look at the code. calc_pi.f90
- Are there any errors that standout?
- Is the code easy to understand?
- What changes, if any, would you make to the code?
Take a look at the pull request
- Does the pull request address the issue?
- Are there any unnecessary or incorrect changes?
- Why did the author change the precision? Can you find the commit message with the reason?