rtems-docs/posix-users/services_provided_by_math.rst

99 lines
1.8 KiB
ReStructuredText

.. 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.