Fortran-lang/stdlib
Contributing and specs
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
arg
Interface
experimental
4 statements
Source File
stdlib_math.fypp
stdlib_math
arg
Contents
Module Procedures
arg_sp
arg_dp
public interface arg
arg
computes the phase angle in the interval (-π,π]. (
Specification
)
Module Procedures
private elemental function arg_sp(z) result(result)
Arguments
Type
Intent
Optional
Attributes
Name
complex(kind=sp),
intent(in)
::
z
Return Value
real(kind=sp)
private elemental function arg_dp(z) result(result)
Arguments
Type
Intent
Optional
Attributes
Name
complex(kind=dp),
intent(in)
::
z
Return Value
real(kind=dp)