clog10, clog10f, clog10l

Visual Studio 2015
 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at clog10, clog10f, clog10l.

Retrieves the base 10 logarithm of a complex number.

_Dcomplex clog10(   
   _Dcomplex z   
);  
_Fcomplex clog10(   
  _Fcomplex z   
);  // C++ only  
_Lcomplex clog10(   
   _Lcomplex z   
);  // C++ only  
_Fcomplex clog10f(   
   _Fcomplex z   
);  
_Lcomplex clog10l(   
   _Lcomplex z   
);  

Parameters

z
The base of the logarithm.

The possible return values are:

z parameterReturn value
PositiveThe base 10 logarithm of z
Zero- ∞
NegativeNaN
NaNNaN
+ ∞+ ∞

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

RoutineC headerC++ header
clog10, clog10f, clogl<complex.h><ccomplex>

For more compatibility information, see Compatibility in the Introduction.

Alphabetical Function Reference
cexp, cexpf, cexpl
cpow, cpowf, cpowl
clog, clogf, clogl

Show: