Calculate and return in degrees
real(real32) :: x_r32 = 1 real(real64) :: x_r64 = 0 print *, acosd(x_r32) ! = 0.000 print *, acosd(x_r64) ! = 90.000
Single precision
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in) | :: | x |
in degrees
Double precision
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x |
in degrees