Fortran-lang/stdlib
Contributing and specs
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
deg2rad
Interface
experimental
4 statements
Source File
stdlib_math.fypp
stdlib_math
deg2rad
Contents
Module Procedures
deg2rad_sp
deg2rad_dp
public interface deg2rad
deg2rad
converts phase angles from degrees to radians. (
Specification
)
Module Procedures
private elemental function deg2rad_sp(theta) result(result)
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=sp),
intent(in)
::
theta
Return Value
real(kind=sp)
private elemental function deg2rad_dp(theta) result(result)
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=dp),
intent(in)
::
theta
Return Value
real(kind=dp)