1 | .. comment SPDX-License-Identifier: CC-BY-SA-4.0 |
---|
2 | |
---|
3 | Services Provided by the Math Library (libm) |
---|
4 | ############################################ |
---|
5 | |
---|
6 | Introduction |
---|
7 | ============ |
---|
8 | |
---|
9 | This section lists the routines that provided by the Newlib Math Library |
---|
10 | (libm). |
---|
11 | |
---|
12 | Standard Math Functions (math.h) |
---|
13 | ================================ |
---|
14 | |
---|
15 | - ``acos`` - Arccosine |
---|
16 | |
---|
17 | - ``acosh`` - Inverse hyperbolic cosine |
---|
18 | |
---|
19 | - ``asin`` - Arcsine |
---|
20 | |
---|
21 | - ``asinh`` - Inverse hyperbolic sine |
---|
22 | |
---|
23 | - ``atan`` - Arctangent |
---|
24 | |
---|
25 | - ``atan2`` - Arctangent of y/x |
---|
26 | |
---|
27 | - ``atanh`` - Inverse hyperbolic tangent |
---|
28 | |
---|
29 | - ``jN`` - Bessel functions (jN and yN) |
---|
30 | |
---|
31 | - ``cbrt`` - Cube root |
---|
32 | |
---|
33 | - ``copysign`` - Sign of Y and magnitude of X |
---|
34 | |
---|
35 | - ``cosh`` - Hyperbolic cosine |
---|
36 | |
---|
37 | - ``erf`` - Error function (erf and erfc) |
---|
38 | |
---|
39 | - ``exp`` - Exponential |
---|
40 | |
---|
41 | - ``expm1`` - Exponential of x and - 1 |
---|
42 | |
---|
43 | - ``fabs`` - Absolute value (magnitude) |
---|
44 | |
---|
45 | - ``floor`` - Floor and ceiling (floor and ceil) |
---|
46 | |
---|
47 | - ``fmod`` - Floating-point remainder (modulo) |
---|
48 | |
---|
49 | - ``frexp`` - Split floating-point number |
---|
50 | |
---|
51 | - ``gamma`` - Logarithmic gamma function |
---|
52 | |
---|
53 | - ``hypot`` - Distance from origin |
---|
54 | |
---|
55 | - ``ilogb`` - Get exponent |
---|
56 | |
---|
57 | - ``infinity`` - Floating infinity |
---|
58 | |
---|
59 | - ``isnan`` - Check type of number |
---|
60 | |
---|
61 | - ``ldexp`` - Load exponent |
---|
62 | |
---|
63 | - ``log`` - Natural logarithms |
---|
64 | |
---|
65 | - ``log10`` - Base 10 logarithms |
---|
66 | |
---|
67 | - ``log1p`` - Log of 1 + X |
---|
68 | |
---|
69 | - ``matherr`` - Modifiable math error handler |
---|
70 | |
---|
71 | - ``modf`` - Split fractional and integer parts |
---|
72 | |
---|
73 | - ``nan`` - Floating Not a Number |
---|
74 | |
---|
75 | - ``nextafter`` - Get next representable number |
---|
76 | |
---|
77 | - ``pow`` - X to the power Y |
---|
78 | |
---|
79 | - ``remainder`` - remainder of X divided by Y |
---|
80 | |
---|
81 | - ``scalbn`` - scalbn |
---|
82 | |
---|
83 | - ``sin`` - Sine or cosine (sin and cos) |
---|
84 | |
---|
85 | - ``sinh`` - Hyperbolic sine |
---|
86 | |
---|
87 | - ``sqrt`` - Positive square root |
---|
88 | |
---|
89 | - ``tan`` - Tangent |
---|
90 | |
---|
91 | - ``tanh`` - Hyperbolic tangent |
---|
92 | |
---|
93 | .. COMMENT: COPYRIGHT (c) 1988-2002. |
---|
94 | |
---|
95 | .. COMMENT: On-Line Applications Research Corporation (OAR). |
---|
96 | |
---|
97 | .. COMMENT: All rights reserved. |
---|
98 | |
---|