Trigonometric and other mathematic operations on complex numbers.

Collection Info

View Source
Collection
core
Path
math/cmplx
Entries
89

Source Files

Procedures

67

sqrt_complex128 #

Source
sqrt_complex128 :: proc "contextless" (x: complex128) -> complex128 {…}

sqrt_complex128 returns the square root of x. The result r is chosen so that real(r) ≥ 0 and imag(r) has the same sign as imag(x).

sqrt_complex32 #

Source
sqrt_complex32 :: proc "contextless" (x: complex32) -> complex32 {…}

sqrt_complex32 returns the square root of x. The result r is chosen so that real(r) ≥ 0 and imag(r) has the same sign as imag(x).

sqrt_complex64 #

Source
sqrt_complex64 :: proc "contextless" (x: complex64) -> complex64 {…}

sqrt_complex64 returns the square root of x. The result r is chosen so that real(r) ≥ 0 and imag(r) has the same sign as imag(x).

Procedure Groups

22