Page 2 of 2

Re: gfortran help

Posted: 2021/05/10 19:12:25
by chemal

Code: Select all

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

Re: gfortran help

Posted: 2021/05/10 19:18:36
by chemal

Code: Select all

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