1 | @c |
---|
2 | @c COPYRIGHT (c) 1988-2002. |
---|
3 | @c On-Line Applications Research Corporation (OAR). |
---|
4 | @c All rights reserved. |
---|
5 | @c |
---|
6 | @c $Id$ |
---|
7 | @c |
---|
8 | |
---|
9 | @chapter Services Provided by the Math Library (libm) |
---|
10 | |
---|
11 | @section Introduction |
---|
12 | |
---|
13 | This section lists the routines that provided by the Newlib Math Library |
---|
14 | (libm). |
---|
15 | |
---|
16 | @section Standard Math Functions (math.h) |
---|
17 | |
---|
18 | @itemize @bullet |
---|
19 | @item @code{acos} - Arccosine |
---|
20 | @item @code{acosh} - Inverse hyperbolic cosine |
---|
21 | @item @code{asin} - Arcsine |
---|
22 | @item @code{asinh} - Inverse hyperbolic sine |
---|
23 | @item @code{atan} - Arctangent |
---|
24 | @item @code{atan2} - Arctangent of y/x |
---|
25 | @item @code{atanh} - Inverse hyperbolic tangent |
---|
26 | @item @code{jN} - Bessel functions (jN and yN) |
---|
27 | @item @code{cbrt} - Cube root |
---|
28 | @item @code{copysign} - Sign of Y and magnitude of X |
---|
29 | @item @code{cosh} - Hyperbolic cosine |
---|
30 | @item @code{erf} - Error function (erf and erfc) |
---|
31 | @item @code{exp} - Exponential |
---|
32 | @item @code{expm1} - Exponential of x and - 1 |
---|
33 | @item @code{fabs} - Absolute value (magnitude) |
---|
34 | @item @code{floor} - Floor and ceiling (floor and ceil) |
---|
35 | @item @code{fmod} - Floating-point remainder (modulo) |
---|
36 | @item @code{frexp} - Split floating-point number |
---|
37 | @item @code{gamma} - Logarithmic gamma function |
---|
38 | @item @code{hypot} - Distance from origin |
---|
39 | @item @code{ilogb} - Get exponent |
---|
40 | @item @code{infinity} - Floating infinity |
---|
41 | @item @code{isnan} - Check type of number |
---|
42 | @item @code{ldexp} - Load exponent |
---|
43 | @item @code{log} - Natural logarithms |
---|
44 | @item @code{log10} - Base 10 logarithms |
---|
45 | @item @code{log1p} - Log of 1 + X |
---|
46 | @item @code{matherr} - Modifiable math error handler |
---|
47 | @item @code{modf} - Split fractional and integer parts |
---|
48 | @item @code{nan} - Floating Not a Number |
---|
49 | @item @code{nextafter} - Get next representable number |
---|
50 | @item @code{pow} - X to the power Y |
---|
51 | @item @code{remainder} - remainder of X divided by Y |
---|
52 | @item @code{scalbn} - scalbn |
---|
53 | @item @code{sin} - Sine or cosine (sin and cos) |
---|
54 | @item @code{sinh} - Hyperbolic sine |
---|
55 | @item @code{sqrt} - Positive square root |
---|
56 | @item @code{tan} - Tangent |
---|
57 | @item @code{tanh} - Hyperbolic tangent |
---|
58 | @end itemize |
---|