summaryrefslogtreecommitdiffstats
path: root/posix-users/services_provided_by_math.rst
blob: 43a6aa5e990ae39f79258a4b55413c689aecd7a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
.. comment SPDX-License-Identifier: CC-BY-SA-4.0

Services Provided by the Math Library (libm)
############################################

Introduction
============

This section lists the routines that provided by the Newlib Math Library
(libm).

Standard Math Functions (math.h)
================================

- ``acos`` - Arccosine

- ``acosh`` - Inverse hyperbolic cosine

- ``asin`` - Arcsine

- ``asinh`` - Inverse hyperbolic sine

- ``atan`` - Arctangent

- ``atan2`` - Arctangent of y/x

- ``atanh`` - Inverse hyperbolic tangent

- ``jN`` - Bessel functions (jN and yN)

- ``cbrt`` - Cube root

- ``copysign`` - Sign of Y and magnitude of X

- ``cosh`` - Hyperbolic cosine

- ``erf`` - Error function (erf and erfc)

- ``exp`` - Exponential

- ``expm1`` - Exponential of x and - 1

- ``fabs`` - Absolute value (magnitude)

- ``floor`` - Floor and ceiling (floor and ceil)

- ``fmod`` - Floating-point remainder (modulo)

- ``frexp`` - Split floating-point number

- ``gamma`` - Logarithmic gamma function

- ``hypot`` - Distance from origin

- ``ilogb`` - Get exponent

- ``infinity`` - Floating infinity

- ``isnan`` - Check type of number

- ``ldexp`` - Load exponent

- ``log`` - Natural logarithms

- ``log10`` - Base 10 logarithms

- ``log1p`` - Log of 1 + X

- ``matherr`` - Modifiable math error handler

- ``modf`` - Split fractional and integer parts

- ``nan`` - Floating Not a Number

- ``nextafter`` - Get next representable number

- ``pow`` - X to the power Y

- ``remainder`` - remainder of X divided by Y

- ``scalbn`` - scalbn

- ``sin`` - Sine or cosine (sin and cos)

- ``sinh`` - Hyperbolic sine

- ``sqrt`` - Positive square root

- ``tan`` - Tangent

- ``tanh`` - Hyperbolic tangent

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.