ImLog2
Description
Calculate the base 2 logarithm of a complex.
where ImLn computes the natural logarithm of the complex, and
.
Syntax
complex ImLog2(complex cX)
Parameters
cX
- The complex number.
Return
Return the base 2 logarithm of the specified complex.
Example
imLog2(3+4i) = ; // 2.3219280948874+1.337804212451i complex c1 = 1+1i; complex c2; c2 = imLog2(c1); c2 = ; // 0.5+1.1330900354568i
/math-12f8ed2f2ed732d975db03e0667d2017.png)