CLOG(3) Linux Programmer's Manual CLOG(3)NAME
clog, clogf, clogl - natural logarithm of a complex number
SYNOPSIS
#include <complex.h>
double complex clog(double complex z);
float complex clogf(float complex z);
long double complex clogl(long double complex z);
Link with -lm.
DESCRIPTION
The logarithm clog() is the inverse function of the exponential cexp(3). Thus, if y = clog(z), then z = cexp(y). The imaginary part of y
is chosen in the interval [-pi,pi].
One has:
clog(z) = log(cabs(z)) + I * carg(z)
Note that z close to zero will cause an overflow.
VERSIONS
These functions first appeared in glibc in version 2.1.
CONFORMING TO
C99.
SEE ALSO cabs(3), cexp(3), clog10(3), clog2(3), complex(7)COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
2008-08-11 CLOG(3)
Check Out this Related Man Page
CLOG(3) Linux Programmer's Manual CLOG(3)NAME
clog, clogf, clogl - natural logarithm of a complex number
SYNOPSIS
#include <complex.h>
double complex clog(double complex z);
float complex clogf(float complex z);
long double complex clogl(long double complex z);
Link with -lm.
DESCRIPTION
The logarithm clog() is the inverse function of the exponential cexp(3). Thus, if y = clog(z), then z = cexp(y). The imaginary part of y
is chosen in the interval [-pi,pi].
One has:
clog(z) = log(cabs(z)) + I * carg(z)
Note that z close to zero will cause an overflow.
VERSIONS
These functions first appeared in glibc in version 2.1.
CONFORMING TO
C99.
SEE ALSO cabs(3), cexp(3), clog10(3), clog2(3), complex(7)COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
2008-08-11 CLOG(3)
I have an input file at ./$1.txt
with content of seq numbers like :
1234567890
1234589700
.
.
so on..
I need to take each seq nbr from the input file ,run the query below:
select ackname,seqnbr from event where event_text like '%seqnbr( from the input file)'
and redirect the... (11 Replies)
I have an input file with contents like:
203969 OrdAcctCycChg USAGE_DAEMON1
203970 OrdAcctCycChg USAGE_DAEMON2
203971 OrdAcctCycChg USAGE_DAEMON3
203972 OrdAcctCycChg USAGE_DAEMON4
I need to extract variables in first column... (51 Replies)
#!/bin/ksh
db_user=$DB_USER_NAME
db_pwd=$DB_PASSWORD
db_sid=$TWO_TASK
if ; then
echo "\tUsage: MoveUsageProcessing <BC Log file Name>"
exit 1
else
BCLogFileName=$1
fi
grep -i 'MoveUsage daemon needs to run on this account before it can be billed' $1 |awk -F\| '{for(i=0;++i<=NF;) if($i ~... (1 Reply)
Hi!
I have two shell scripts - Script1, Script2
Script1, Script2 - have return parameter
Script1 - is calling Script2
in Script2 I am calling program sqlldr - if this program is called then I did not get the return parameter from Script1
Do You have any idea how can I avoid this problem.
Mroki (6 Replies)
hello,
i have a lot of C old code I'm updating to C11 with tgmath.h for generic math. the old code has very specific types, real and complex, like cabsl, csinhl, etc
usually for simple bulk replacements i would do something simple like this
perl -pi -e 's/cosl/cos/g' *.c
the reference... (0 Replies)