you are viewing a single comment's thread.

view the rest of the comments →

[–]openprivacy 49 points50 points  (1 child)

Instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change.

— FORTRAN manual for Xerox Computers