Wednesday, November 30, 2016

C Math Manipulation Functions

Manipulation Functions:
x, y - floating point values
from, to - floating point values
arg - narrow character string identifying the contents of a NaN

nextafterv(C99) double nextafter( double from, double to );
nextafterf(C99) float nextafterf( float from, float to );
nextafterl(C99) long double nextafterl( long double from, long double to );
nexttoward(C99) double nexttoward( double from, long double to );
nexttowardf(C99) float nexttowardf( float from, long double to );
nexttowardl(C99) long double nexttowardl( long double from, long double to );
copysign(C99) double copysign( double x, double y );
copysignf(C99) float copysignf( float x, float y );
copysignl(C99) long double copysignl( long double x, long double y );
nan(C99) double nan( const char* arg );
nanf(C99) float nanf( const char* arg );
nanl(C99) long double nanl( const char* 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

No comments:

Post a Comment