Sponsored Content
The Lounge What is on Your Mind? Please Welcome Yoda (Bipin Ajith) to the Moderation Team Post 303038578 by hicksd8 on Friday 6th of September 2019 12:23:08 PM
Old 09-06-2019
Welcome. Well deserved. I've been reading your valuable contributions to this community for some time now.
This User Gave Thanks to hicksd8 For This Post:
 

3 More Discussions You Might Find Interesting

1. What is on Your Mind?

Please Welcome Ravinder Singh to the Moderation Team

On this special Happy News Year day, 1 January 2019, I am pleased to promote Ravinder Singh to UNIX.COM Moderator, for at least the following reasons: Ravinder Loves UNIX.COM Ravinder has 1,372 Thanks, which puts him in the Top Ten in that important single category. Ravinder is one of... (8 Replies)
Discussion started by: Neo
8 Replies

2. What is on Your Mind?

Please Welcome Peasant to the Moderation Team

Dear All, Following our new policy for future forum moderators to have active LinkedIn profiles (and increase mod team diversity), please join me in congratulating our new addition to our mod team, Peasant: Peasant (Filip Skoblar) on LinkedIn Peasant is also an active moderator on our... (10 Replies)
Discussion started by: Neo
10 Replies

3. What is on Your Mind?

Please Welcome Akshay Hegde to the Moderation Team

Dear All, Following our policy for forum moderators to have active LinkedIn profiles (and also to increase mod team diversity), please join me in congratulating the newest addition to our mod team, Akshay Hegde: Akshay Hegde on LinkedIn Akshay has been very helpful to the site over the... (3 Replies)
Discussion started by: Neo
3 Replies
CEXP(3) 						   BSD Library Functions Manual 						   CEXP(3)

NAME
cexp, cexpf -- complex exponential functions LIBRARY
Math Library (libm, -lm) SYNOPSIS
#include <complex.h> double complex cexp(double complex z); float complex cexpf(float complex z); DESCRIPTION
The cexp() and cexpf() functions compute the complex exponential of z, also known as cis(z). RETURN VALUES
For real numbers x and y, cexp() behaves according to Euler's formula: cexp(x + I*y) = (e**x * cos(y)) + (I * e**x * sin(y)) Generally speaking, infinities, zeroes and NaNs are handled as would be expected from this identity given the usual rules of floating-point arithmetic. However, care is taken to avoid generating NaNs when they are not deserved. For example, mathematically we expect that cimag(cexp(x + I*0)) = 0 regardless of the value of x, and cexp() preserves this identity even if x is infinity or NaN. Likewise, cexp(-infinity + I*y) = 0 and creal(cexp(infinity + I*y)) = infinity for any y (even though the latter property is only mathematically true for representable y.) If y is not finite, the sign of the result is indeterminate. SEE ALSO
complex(3), exp(3), math(3) STANDARDS
The cexp() and cexpf() functions conform to ISO/IEC 9899:1999 (``ISO C99''). BSD
March 6, 2011 BSD
All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy