## Wednesday, November 30, 2016

### C Math Power and Absolute-value Functions

Power and Absolute-value Functions:
x, y, arg - floating point value
base - base as floating point value
exponent - exponent as floating point value

 pow double pow( double base, double exponent ); powf(C99) float powf( float base, float exponent ); powl(C99) long double powl( long double base, long double exponent ); sqrt double sqrt( double arg ); sqrtf(C99) float sqrtf( float arg ); sqrtl(C99) long double sqrtl( long double arg ); cbrt(C99) double cbrt( double arg ); cbrtf(C99) float cbrtf( float arg ); cbrtl(C99) long double cbrtl( long double arg ); hypot(C99) double hypot( double x, double y ); hypotf(C99) float hypotf( float x, float y ); hypotl(C99) long double hypotl( long double x, long double y ); fabs double fabs( double arg ); fabsf(C99) float fabsf( float arg ); fabsl(C99) long double fabsl( long double arg );

 math.h 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