val of_complex : Stdlib.Complex.t -> t
create a long double complex from a Complex.t
val to_complex : t -> Stdlib.Complex.t
Convert a long double complex to a Complex.t. The real and imaginary components are converted by calling LDouble.to_float
which can produce unspecified results.
val zero : t
0 + i0
val one : t
1 + i0
val i : t
0 + i
polar norm arg
returns the complex having norm norm
and argument arg
.
Argument. The argument of a complex number is the angle in the complex plane between the positive real axis and a line passing through zero and the number.