Wednesday, November 30, 2016

C Math Exponential and Logarithmic Functions

Exponential and Logarithmic Functions:
arg - floating point value
*exp *iptr - to store the integral part
exp – integer value

exp double exp( double arg );
expf(C99) float expf( float arg );
expl(C99) long double expl( long double arg );
exp2(C99) double exp2( double arg );
exp2f(C99) float exp2f( float arg );
exp2l(C99) long double exp2l( long double arg );
expm1(C99) double expm1( double arg );
expm1f(C99) float expm1f( float arg );
expm1l(C99) long double expm1l( long double arg );
frexp double frexp( double arg , int* exp );
frexpf(C99) float frexpf( float arg , int* exp );
frexpl(C99) long double frexpl( long double arg , int* exp );
ilogb(C99) int ilogb( double arg );
ilogbf(C99) int ilogbf( float arg );
ilogbl(C99) int ilogbl( long double arg );
ldexp double ldexp( double arg , int exp );
ldexpf(C99) float ldexpf( float arg , int exp );
ldexpl(C99) long double ldexpl( long double arg , int exp );
log double log ( double arg );
logf(C99) float logf ( float arg );
logl(C99) long double logl( long double arg );
log10 double log10l ( double arg );
log10f(C99) float log10lf ( float arg );
log10l(C99) long double log10l( long double arg );
log1p(C99) double log1pl ( double arg );
log1pf(C99) float log1plf( float arg );
log1pl(C99) long double log1pl( long double arg );
log2(C99) double log2l ( double arg );
log2f(C99) float log2lf ( float arg );
log2l(C99) long double log2l( long double arg );
logb(C99) double logb( double arg );
logbf(C99) float logbf( float arg );
logbl(C99) long double logbl( long double arg );
modf double modf( double arg , double* iptr );
modff(C99) float modff( float arg , float* iptr );
modfl(C99) long double modfl( long double arg , long double * iptr );
scalbn(C99) double scalbn( double arg , int exp );
scalbnf(C99) float scalbnf( float arg , int exp );
scalbnl(C99) long double scalbnl( long double arg , int exp );
scalbln(C99) double scalbln( double arg , long exp );
scalblnf(C99) float scalblnf( float arg , long exp );
scalblnl(C99) long double scalblnl( long double arg , long exp );

Trigonometric Functions
Hyperbolic Functions
Exponential and Logarithmic Functions
Power and Absolute-value Functions
Error and Gamma Functions
Nearest Integer Functions
Remainder Functions
Manipulation Functions
Maximum, Minimum, and Positive difference Functions
Floating multiply-add Functions
Classification macro Functions
Comparison macro Functions

Related topics:
Library Functions in C   |   Standard Library in C   |   Header Files in C   |   Functions in C   |   Keywords in C   |   Data Types in C   |   Pointers in C

List of topics: C Programming

No comments:

Post a Comment