Skip to content

Latest commit

 

History

History
108 lines (99 loc) · 2.38 KB

cexp-cexpf-cexpl.md

File metadata and controls

108 lines (99 loc) · 2.38 KB
title cexp, cexpf, cexpl | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp
devlang-cpp
ms.tgt_pltfrm
ms.topic article
apiname
cexp
cexpf
cexpl
apilocation
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
api-ms-win-crt-math-l1-1-0.dll
apitype DLLExport
f1_keywords
cexp
cexpf
cexpl
complex/cepx
complex/cexpf
complex/cexpl
dev_langs
C++
helpviewer_keywords
cexp function
cexpl function
cexpf function
ms.assetid f27fd5a9-70c7-4957-a7ee-5256d19bd1da
caps.latest.revision 11
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

cexp, cexpf, cexpl

Compute the base-e exponential of a complex number.

Syntax

_Dcomplex cexp(   
   _Dcomplex z   
);  
_Fcomplex cexp(   
   _Fcomplex z   
);  // C++ only  
_Lcomplex cexp(   
   _Lcomplex z   
);  // C++ only  
_Fcomplex cexpf(   
  _Fcomplex z   
);  
_Lcomplex cexpl(   
   _Lcomplex z   
);  

Parameters

z
A complex number that represents the exponent.

Return Value

The value of e raised to the power of z.

Remarks

Because C++ allows overloading, you can call overloads of cexp that take and return _Fcomplex and _Lcomplex values. In a C program, cexp always takes and returns a _Dcomplex value.

Requirements

Routine C header C++ header
cexp, cexpf, cexpl <complex.h> <complex.h>

For compatibility information, see Compatibility.

See Also

Alphabetical Function Reference
cpow, cpowf, cpowl
clog10, clog10f, clog10l
clog, clogf, clogl