Answer

We don't have to change any of the arithmetic operations, such as the use of multiplication, division, and even the call to the intrinsic function SQRT. Fortran is smart enough to tell the difference between REAL and DOUBLE PRECISION numbers and to deal with them appropriately.

Return to lesson.



Hamlet Project
hamlet@cs.utah.edu