Precision in Fortran | Sololearn: Learn to code for FREE!


Precision in Fortran

Hey i have some values like 10**-16 and 10**-15 but Fortran is recognize them like 0 how i can get the most amount of precision

3/2/2019 11:40:23 PM


2 Answers

New Answer


You must declare the variables with REAL to normally get the range 10**-38 to 10**38 or DOUBLE PRECISION for the range 10**-308 to 10**308.


Thank you all its working