angle

calculate the phase angle of given number


Parameters

angle number :complex

Returns

  • :floating

Examples

copy
a: to complex [1 1] ; a: 1.0+1.0i print angle a ; 0.7853981633974483

Related