1. Trigonometric Functions
Double sin (double); sine
Double cos (double); cosine
Double tan (double); tangent
2, Inverse trigonometric function
Double asin (double); Results between [-PI/2, PI/2]
Double ACOs (double); Results between [0, PI]
Double Atan (double); Inverse tangent (main value), result between [-PI/2, PI/2]
Double atan2 (double, double); Tangent (rounded value), results in [-pi, PI]
3. Hyperbolic trigonometric Functions
Double Sinh (double);
Double cosh (double);
Double Tanh (double);
4. Exponent and logarithm
Double exp (double), the power of the natural number E
Double sqrt (double); open square
Double log (double); Logarithm with e as the base
Double log10 (double); base 10 logarithm
Double pow (double x, double y); calculates the X-based Y-power
float POWF (float x, float y); function is consistent with POW, except that both input and output are floating point numbers
5, take the whole
Double ceil (double); Take the whole
Double floor (double); Remove the entire
6. Absolute value
Double fabs (double);
Double cabs (struct complex znum), the absolute value of the plural
7. Standardized floating-point numbers
Double Frexp (double f, int *p); Normalized floating-point numbers, f = x * 2^p, known F for X, p (x between [0.5, 1])
Double Ldexp (double x, int p); In contrast to Frexp, X, p is known to ask F
8, take the whole and take the remainder
Double Modf (double, double*); Returns the integer part of the argument through the pointer, returning the fractional part
Double Fmod (double, double); Returns the remainder of dividing two arguments
9. Other
Double Hypot (double x, double y), known right triangle two right angle side length, to seek hypotenuse length
Double Ldexp (double x, int exponent), calculation x* (exponent power of 2)
Double poly (double x, int degree, double coeffs []), calculation polynomial
NT Matherr (struct exception *e); Math Error Calculation handler
Objective-c Common Mathematical Methods