mirror of https://github.com/mkerrisk/man-pages
Fix broken text in description.
This commit is contained in:
parent
2c81ad3b48
commit
988517ae3b
15
man3/clog2.3
15
man3/clog2.3
|
@ -12,10 +12,19 @@ clog2, clog2f, clog2l \- base-2 logarithm of a complex number
|
|||
.BI "float complex clog2f(float complex " z );
|
||||
.br
|
||||
.BI "long double complex clog2l(long double complex " z );
|
||||
.sp
|
||||
Link with \-lm.
|
||||
.\" .sp
|
||||
.\" Link with \-lm.
|
||||
.SH DESCRIPTION
|
||||
The logarithm is defined as log2(cabs(z))+I*carg(z).
|
||||
The call
|
||||
.I clog2(z)
|
||||
is equivalent to
|
||||
.IR clog(z)/log(2) .
|
||||
|
||||
The other functions perform the same task for
|
||||
.I float
|
||||
and
|
||||
.IR "long double" .
|
||||
|
||||
Note that
|
||||
.I z
|
||||
close to zero will cause an overflow.
|
||||
|
|
Loading…
Reference in New Issue