rad2deg Function

public function rad2deg(t)

Arguments

Type IntentOptional AttributesName
real(kind=rp), intent(in) :: t

Return Value real(kind=rp)


Contents

Source Code


Source Code

  FUNCTION rad2deg(t)
    REAL(rp), INTENT(IN) :: t
    REAL(rp) :: rad2deg

    rad2deg = t*180.0_rp/C_PI

  END FUNCTION rad2deg