gfortran help

Issues related to applications and software problems and general support
chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: gfortran help

Post by chemal » 2021/05/10 19:12:25

Code: Select all

program test
real*8 a
a = dsin(10.0d0)
print*, a
end program
-0.54402111088936977

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: gfortran help

Post by chemal » 2021/05/10 19:18:36

Code: Select all

program test
real(16) :: a
a = sin(10.0q0)
print*, a
end program
-0.544021110889369813404747661851377282

Post Reply