You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike Python, the type of a numeric literal is implicitly assumed. Float literals are assumed to be real*4. We need to either explicitly add a type like tref = 288.0_p or promote all floats without type specification with a command line option -fdefault-real-8. With tref = 288.0, tref is declared to be real(p), but an imprecise value of real*4 is assigned without _p after the literal or without the option.
The text was updated successfully, but these errors were encountered:
Unlike Python, the type of a numeric literal is implicitly assumed. Float literals are assumed to be real*4. We need to either explicitly add a type like
tref = 288.0_p
or promote all floats without type specification with a command line option-fdefault-real-8
. Withtref = 288.0
,tref
is declared to bereal(p)
, but an imprecise value ofreal*4
is assigned without_p
after the literal or without the option.The text was updated successfully, but these errors were encountered: