+ 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

2nd Mar 2019, 11:40 PM
Zamoslovski
2 Antworten
+ 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.
3rd Mar 2019, 12:25 AM
John Wells
John Wells - avatar
+ 2
Thank you all its working
3rd Mar 2019, 9:54 PM
Zamoslovski