Manual Pages for UNIX Darwin command on man clog
MyWebUniversity

Manual Pages for UNIX Darwin command on man clog

CLOG(3) BSD Library Functions Manual CLOG(3)

NAME

cclloogg - complex logarithm function

SYNOPSIS

##iinncclluuddee <>

double complex cclloogg(double complex z); long double complex ccllooggll(long double complex z); float complex ccllooggff(float complex z);

DESCRIPTION

cclloogg(z) returns the complex logarithm of z.

clog(conj(z)) = conj(clog(z)), for all complex floating-point numbers z.

SSPPEECCIIAALL VVAALLUUEESS

The conjugate symmetry of clog() is used to abbreviate the specification

of special values.

cclloogg(-0 + 0i) returns -inf + Pi i and raises the divide-by-zero flag.

cclloogg(0 + 0i) returns -inf + 0i and raises the divide-by-zero flag.

cclloogg(x + inf i) returns inf + Pi/2 i, for finite x. cclloogg(x + NaN i) returns NaN + NaN i.

cclloogg(-inf + yi) returns inf + Pi i, for finite positive y.

cclloogg(inf + yi) returns inf + 0i, for finite positive y.

cclloogg(-inf + inf i) returns inf + 3Pi/4 i.

cclloogg(inf + inf i) returns inf + Pi/4 i.

cclloogg(+-inf + NaN i) returns inf + NaN i.

cclloogg(NaN + yi) returns NaN + NaN i, for finite y. cclloogg(NaN + inf i) returns inf + NaN i. cclloogg(NaN + NaN i) returns NaN + NaN i. NNOOTTEESS

SEE ALSO

cexp(3) log(3) complex(3) STANDARDS The cclloogg() function conforms to ISO/IEC 9899:1999(E). 4th Berkeley Distribution November 9, 2006 4th Berkeley Distribution




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™