Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cexp(3) [mojave man page]

CEXP(3) 						   BSD Library Functions Manual 						   CEXP(3)

NAME
cexp -- complex exponential function SYNOPSIS
#include <complex.h> double complex cexp(double complex z); long double complex cexpl(long double complex z); float complex cexpf(float complex z); DESCRIPTION
cexp(z) returns the complex exponential of z. cexp(conj(z)) = conj(cexp(z)), for all complex floating-point numbers z. SPECIAL VALUES
The conjugate symmetry of cexp() is used to abbreviate the specification of special values. cexp(+-0 + 0i) returns 1 + 0i. cexp(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite x. cexp(x + NaN i) returns NaN + NaN i, for finite x. cexp(inf + 0i) returns inf + 0i. For the following two cases, cis(y) denotes cos(y) + I*sin(y). cexp(-inf + yi) returns 0*cis(y), for finite y. cexp(inf + yi) returns inf*cis(y), for finite nonzero y. cexp(-inf + inf i) returns -0 + 0i. cexp(inf + inf i) returns -inf + NaN i, and raises the invalid flag. cexp(-inf + NaN i) returns -0 + 0i. cexp(inf + NaN i) returns -inf + NaN i. cexp(NaN + 0i) returns NaN + 0i. cexp(NaN + yi) returns NaN + NaN i for all nonzero numbers y. cexp(NaN + NaN i) returns NaN + NaN i. SEE ALSO
exp(3) clog(3) complex(3) STANDARDS
The cexp() function conforms to ISO/IEC 9899:2011. 4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution

Check Out this Related Man Page

CEXP(3) 						   BSD Library Functions Manual 						   CEXP(3)

NAME
cexp -- complex exponential function SYNOPSIS
#include <complex.h> double complex cexp(double complex z); long double complex cexpl(long double complex z); float complex cexpf(float complex z); DESCRIPTION
cexp(z) returns the complex exponential of z. cexp(conj(z)) = conj(cexp(z)), for all complex floating-point numbers z. SPECIAL VALUES
The conjugate symmetry of cexp() is used to abbreviate the specification of special values. cexp(+-0 + 0i) returns 1 + 0i. cexp(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite x. cexp(x + NaN i) returns NaN + NaN i, for finite x. cexp(inf + 0i) returns inf + 0i. For the following two cases, cis(y) denotes cos(y) + I*sin(y). cexp(-inf + yi) returns 0*cis(y), for finite y. cexp(inf + yi) returns inf*cis(y), for finite nonzero y. cexp(-inf + inf i) returns -0 + 0i. cexp(inf + inf i) returns -inf + NaN i, and raises the invalid flag. cexp(-inf + NaN i) returns -0 + 0i. cexp(inf + NaN i) returns -inf + NaN i. cexp(NaN + 0i) returns NaN + 0i. cexp(NaN + yi) returns NaN + NaN i for all nonzero numbers y. cexp(NaN + NaN i) returns NaN + NaN i. SEE ALSO
exp(3) clog(3) complex(3) STANDARDS
The cexp() function conforms to ISO/IEC 9899:2011. 4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

parsing rows

Hi, I have a file that looks like this (tab seperated): Barry -3 -4 -5 -10 -4 6 -8 20 -6 NaN NaN NaN Brend -2 4 -3 -7 -3 8 -9 -10 -6 NaN NaN NaN NaN NaN Harry -10 -9 -40 6 -7 3 -7 -2 -5 NaN NaN NaN NaN NaN NaN NaN I want to print the first column... (4 Replies)
Discussion started by: gisele_l
4 Replies

2. UNIX and Linux Applications

Unix and Windows Compatibility

Hi, I am new to this forum and I hope I am posting the thread in the right forum. I have a huge C program running perfectly fine in 64 bit UNIX systems (runs for 5000 iterations). I want the same results while running in WINDOWS. My current systems supports Windows 7 Professional 32 bit... (9 Replies)
Discussion started by: uwin88
9 Replies

3. Shell Programming and Scripting

Problem with numbers in exponential format

Hi I have a shell scribt with some numbers in exponential format, for example, "1.23456789E +01" Now I would like to bring these numbers into a format without the E. Can someone help me Thanks Flo ---------- Post updated at 10:07 AM ---------- Previous update was at 09:14 AM... (1 Reply)
Discussion started by: sbfly
1 Replies

4. Shell Programming and Scripting

Use sed/awk to do like copy and paste

I have rrd file which is have the gaps and I want to fill it out with some value , I've got 10 NaN record and I try to populate data from 10 records be for NaN to change instead of NaN :( <!-- 2016-05-19 14:10:00 CST / 1463638200 -->... (11 Replies)
Discussion started by: boobytrap
11 Replies