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

+2

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

Zamoslovski

2 Answers

New Answer

+4

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.

+2

Thank you all its working