Math Scalar Library
Programming Reference Manual C/C++
Version 1.1 DD-00003-011

24.11 sccis - Complex Euler’s Formula exp(ix)

#include <msca.h> 
 
double complex sccis (double complex x); 
float  complex sccisf(float complex x);

Given values x,y ∈C  this function computes the exponent of the complex number using Euler’s formula:

exp(ix)=cos(x)+ isin(x)