TizenRT Libs&Environment
v2.0 M2
|
Provides APIs for Math. More...
![]() |
Files | |
file | math.h |
Math APIs. | |
Macros | |
#define | INFINITY (1.0/0.0) |
#define | NAN (0.0/0.0) |
#define | HUGE_VAL INFINITY |
#define | isnan(x) ((x) != (x)) |
#define | isinf(x) (((x) == INFINITY) || ((x) == -INFINITY)) |
#define | isfinite(x) (!(isinf(x)) && (x != NAN)) |
#define | signbit(x) |
#define | M_E 2.7182818284590452353602874713526625 |
#define | M_SQRT2 1.4142135623730950488016887242096981 |
#define | M_SQRT1_2 0.7071067811865475244008443621048490 |
#define | M_LOG2E 1.4426950408889634073599246810018921 |
#define | M_LOG10E 0.4342944819032518276511289189166051 |
#define | M_LN2 0.6931471805599453094172321214581765 |
#define | M_LN10 2.3025850929940456840179914546843642 |
#define | M_PI 3.1415926535897932384626433832795029 |
#define | M_PI_2 1.5707963267948966192313216916397514 |
#define | M_PI_4 0.7853981633974483096156608458198757 |
#define | M_1_PI 0.3183098861837906715377675267450287 |
#define | M_2_PI 0.6366197723675813430755350534900574 |
#define | M_2_SQRTPI 1.1283791670955125738961589031215452 |
#define | expm1f(x) (expf(x) - 1.0) |
exponential function More... | |
#define | expm1(x) (exp(x) - 1.0) |
#define | expm1l(x) (expl(x) - 1.0) |
#define | erfc(x) (1 - erf(x)) |
#define | erfcl(x) (1 - erfl(x)) |
Functions | |
float | ceilf (float x) |
ceiling value function More... | |
double | ceil (double x) |
ceiling value function More... | |
long double | ceill (long double x) |
ceiling value function More... | |
float | floorf (float x) |
floor function More... | |
double | floor (double x) |
floor function More... | |
long double | floorl (long double x) |
floor function More... | |
float | roundf (float x) |
round to the nearest integer value in a floating-point format More... | |
double | round (double x) |
round to the nearest integer value in a floating-point format More... | |
long double | roundl (long double x) |
round to the nearest integer value in a floating-point format More... | |
float | rintf (float x) |
round-to-nearest integral value More... | |
double | rint (double x) |
round-to-nearest integral value More... | |
long double | rintl (long double x) |
round-to-nearest integral value More... | |
float | fabsf (float x) |
absolute value function More... | |
double | fabs (double x) |
absolute value function More... | |
long double | fabsl (long double x) |
absolute value function More... | |
double | pow (double b, double e) |
power function More... | |
float | expf (float x) |
exponential function More... | |
double | exp (double x) |
exponential function More... | |
long double | expl (long double x) |
exponential function More... | |
float | exp2f (float x) |
exponential base 2 functions More... | |
double | exp2 (double x) |
exponential base 2 functions More... | |
long double | exp2l (long double x) |
exponential base 2 functions More... | |
float | log2f (float x) |
compute base 2 logarithm functions More... | |
double | log2 (double x) |
compute base 2 logarithm functions More... | |
long double | log2l (long double x) |
compute base 2 logarithm functions More... | |
float | cbrtf (float x) |
cube root functions More... | |
double | cbrt (double x) |
cube root functions More... | |
long double | cbrtl (long double x) |
cube root functions More... | |
float | sqrtf (float x) |
square root function More... | |
double | sqrt (double x) |
square root function More... | |
long double | sqrtl (long double x) |
square root function More... | |
float | ldexpf (float x, int n) |
load exponent of a floating-point number More... | |
double | ldexp (double x, int n) |
load exponent of a floating-point number More... | |
long double | ldexpl (long double x, int n) |
load exponent of a floating-point number More... | |
float | frexpf (float x, int *exp) |
extract mantissa and exponent from a double precision number More... | |
double | frexp (double x, int *exp) |
extract mantissa and exponent from a double precision number More... | |
long double | frexpl (long double x, int *exp) |
extract mantissa and exponent from a double precision number More... | |
float | sinf (float x) |
sine function More... | |
double | sin (double x) |
sine function More... | |
long double | sinl (long double x) |
sine function More... | |
float | cosf (float x) |
cosine function More... | |
double | cos (double x) |
cosine function More... | |
long double | cosl (long double x) |
cosine function More... | |
float | tanf (float x) |
tangent function More... | |
double | tan (double x) |
tangent function More... | |
long double | tanl (long double x) |
tangent function More... | |
float | asinf (float x) |
arc sine function More... | |
double | asin (double x) |
arc sine function More... | |
long double | asinl (long double x) |
arc sine function More... | |
float | acosf (float x) |
double | acos (double x) |
arc cosine functions More... | |
long double | acosl (long double x) |
arc cosine functions More... | |
float | atanf (float x) |
arc cosine functions More... | |
double | atan (double x) |
arc tangent function More... | |
long double | atanl (long double x) |
arc tangent function More... | |
float | atan2f (float y, float x) |
arc tangent function More... | |
double | atan2 (double y, double x) |
arc tangent function More... | |
long double | atan2l (long double y, long double x) |
arc tangent function More... | |
float | sinhf (float x) |
hyperbolic sine functions More... | |
double | sinh (double x) |
hyperbolic sine functions More... | |
long double | sinhl (long double x) |
hyperbolic sine functions More... | |
float | coshf (float x) |
hyperbolic cosine functions More... | |
double | cosh (double x) |
hyperbolic cosine functions More... | |
long double | coshl (long double x) |
hyperbolic cosine functions More... | |
float | tanhf (float x) |
hyperbolic tangent functions More... | |
double | tanh (double x) |
hyperbolic tangent functions More... | |
long double | tanhl (long double x) |
hyperbolic tangent functions More... | |
float | asinhf (float x) |
inverse hyperbolic sine functions More... | |
double | asinh (double x) |
inverse hyperbolic sine functions More... | |
long double | asinhl (long double x) |
inverse hyperbolic sine functions More... | |
float | acoshf (float x) |
inverse hyperbolic cosine functions More... | |
double | acosh (double x) |
inverse hyperbolic cosine functions More... | |
long double | acoshl (long double x) |
inverse hyperbolic cosine functions More... | |
float | atanhf (float x) |
inverse hyperbolic tangent functions More... | |
double | atanh (double x) |
inverse hyperbolic tangent functions More... | |
long double | atanhl (long double x) |
inverse hyperbolic tangent functions More... | |
float | erff (float x) |
error functions More... | |
double | erf (double x) |
error functions More... | |
long double | erfl (long double x) |
error functions More... | |
float | copysignf (float x, float y) |
number manipulation function More... | |
double | copysign (double x, double y) |
number manipulation function More... | |
long double | copysignl (long double x, long double y) |
number manipulation function More... | |
float | truncf (float x) |
round to truncated integer value More... | |
double | trunc (double x) |
round to truncated integer value More... | |
long double | truncl (long double x) |
round to truncated integer value More... | |
float | fdimf (float x, float y) |
compute positive difference between two floating-point numbers More... | |
double | fdim (double x, double y) |
compute positive difference between two floating-point numbers More... | |
long double | fdiml (long double x, long double y) |
compute positive difference between two floating-point numbers More... | |
float | fmaxf (float x, float y) |
double | fmax (double x, double y) |
determine maximum numeric value of two floating-point numbers More... | |
long double | fmaxl (long double x, long double y) |
determine maximum numeric value of two floating-point numbers More... | |
float | fminf (float x, float y) |
determine minimum numeric value of two floating-point numbers More... | |
double | fmin (double x, double y) |
determine minimum numeric value of two floating-point numbers More... | |
long double | fminl (long double x, long double y) |
determine minimum numeric value of two floating-point numbers More... | |
float | hypotf (float x, float y) |
Euclidean distance function. More... | |
double | hypot (double x, double y) |
Euclidean distance function. More... | |
long double | hypotl (long double x, long double y) |
Euclidean distance function. More... | |
float | scalbnf (float x, int exp) |
compute exponent using FLT_RADIX More... | |
double | scalbn (double x, int exp) |
compute exponent using FLT_RADIX More... | |
long double | scalbnl (long double x, int exp) |
compute exponent using FLT_RADIX More... | |
float | j0f (float x) |
returns Bessel functions of x of the first kind of orders 0 More... | |
float | j1f (float x) |
returns Bessel functions of x of the first kind of orders 1 More... | |
float | jnf (int n, float x) |
returns Bessel functions of x of the first kind of orders n More... | |
double | j0 (double x) |
Bessel functions of the first kind. More... | |
double | j1 (double x) |
Bessel functions of the first kind. More... | |
double | jn (int n, double x) |
Bessel functions of the first kind. More... | |
float | y0f (float x) |
returns Bessel functions of x of the second kind of orders 0 More... | |
float | y1f (float x) |
returns Bessel functions of x of the second kind of orders 1 More... | |
float | ynf (int n, float x) |
returns Bessel functions of x of the second kind of orders n More... | |
double | y0 (double x) |
Bessel functions of the second kind. More... | |
double | y1 (double x) |
Bessel functions of the second kind. More... | |
double | yn (int n, double x) |
Bessel functions of the second kind. More... | |
double | nextafter (double x, double y) |
next representable floating-point number More... | |
float | nextafterf (float x, float y) |
next representable floating-point number More... | |
long double | nextafterl (long double x, long double y) |
next representable floating-point number More... | |
double | nexttoward (double x, long double y) |
next representable floating-point number More... | |
float | nexttowardf (float x, long double y) |
next representable floating-point number More... | |
long double | nexttowardl (long double x, long double y) |
next representable floating-point number More... | |
double | remainder (double x, double y) |
remainder function More... | |
float | remainderf (float x, float y) |
remainder function More... | |
long double | remainderl (long double x, long double y) |
remainder function More... | |
double | remquo (double x, double y, int *quo) |
remainder functions More... | |
float | remquof (float x, float y, int *quo) |
remainder functions More... | |
long double | remquol (long double x, long double y, int *quo) |
remainder functions More... | |
Provides APIs for Math.
#define expm1f | ( | x | ) | (expf(x) - 1.0) |
exponential function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
#define signbit | ( | x | ) |
double acos | ( | double | x | ) |
arc cosine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float acosf | ( | float | x | ) |
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double acosh | ( | double | x | ) |
inverse hyperbolic cosine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float acoshf | ( | float | x | ) |
inverse hyperbolic cosine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double acoshl | ( | long double | x | ) |
inverse hyperbolic cosine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double acosl | ( | long double | x | ) |
arc cosine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double asin | ( | double | x | ) |
arc sine function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float asinf | ( | float | x | ) |
arc sine function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double asinh | ( | double | x | ) |
inverse hyperbolic sine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float asinhf | ( | float | x | ) |
inverse hyperbolic sine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double asinhl | ( | long double | x | ) |
inverse hyperbolic sine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double asinl | ( | long double | x | ) |
arc sine function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double atan | ( | double | x | ) |
arc tangent function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double atan2 | ( | double | y, |
double | x | ||
) |
arc tangent function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float atan2f | ( | float | y, |
float | x | ||
) |
arc tangent function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double atan2l | ( | long double | y, |
long double | x | ||
) |
arc tangent function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float atanf | ( | float | x | ) |
arc cosine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double atanh | ( | double | x | ) |
inverse hyperbolic tangent functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float atanhf | ( | float | x | ) |
inverse hyperbolic tangent functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double atanhl | ( | long double | x | ) |
inverse hyperbolic tangent functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double atanl | ( | long double | x | ) |
arc tangent function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double cbrt | ( | double | x | ) |
cube root functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float cbrtf | ( | float | x | ) |
cube root functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double cbrtl | ( | long double | x | ) |
cube root functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double ceil | ( | double | x | ) |
ceiling value function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float ceilf | ( | float | x | ) |
ceiling value function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double ceill | ( | long double | x | ) |
ceiling value function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double copysign | ( | double | x, |
double | y | ||
) |
number manipulation function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float copysignf | ( | float | x, |
float | y | ||
) |
number manipulation function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double copysignl | ( | long double | x, |
long double | y | ||
) |
number manipulation function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double cos | ( | double | x | ) |
cosine function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float cosf | ( | float | x | ) |
cosine function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double cosh | ( | double | x | ) |
hyperbolic cosine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float coshf | ( | float | x | ) |
hyperbolic cosine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double coshl | ( | long double | x | ) |
hyperbolic cosine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double cosl | ( | long double | x | ) |
cosine function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double erf | ( | double | x | ) |
error functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float erff | ( | float | x | ) |
error functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double erfl | ( | long double | x | ) |
error functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double exp | ( | double | x | ) |
exponential function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double exp2 | ( | double | x | ) |
exponential base 2 functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float exp2f | ( | float | x | ) |
exponential base 2 functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double exp2l | ( | long double | x | ) |
exponential base 2 functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float expf | ( | float | x | ) |
exponential function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double expl | ( | long double | x | ) |
exponential function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double fabs | ( | double | x | ) |
absolute value function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float fabsf | ( | float | x | ) |
absolute value function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double fabsl | ( | long double | x | ) |
absolute value function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double fdim | ( | double | x, |
double | y | ||
) |
compute positive difference between two floating-point numbers
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float fdimf | ( | float | x, |
float | y | ||
) |
compute positive difference between two floating-point numbers
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double fdiml | ( | long double | x, |
long double | y | ||
) |
compute positive difference between two floating-point numbers
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double floor | ( | double | x | ) |
floor function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float floorf | ( | float | x | ) |
floor function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double floorl | ( | long double | x | ) |
floor function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double fmax | ( | double | x, |
double | y | ||
) |
determine maximum numeric value of two floating-point numbers
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float fmaxf | ( | float | x, |
float | y | ||
) |
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double fmaxl | ( | long double | x, |
long double | y | ||
) |
determine maximum numeric value of two floating-point numbers
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double fmin | ( | double | x, |
double | y | ||
) |
determine minimum numeric value of two floating-point numbers
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float fminf | ( | float | x, |
float | y | ||
) |
determine minimum numeric value of two floating-point numbers
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double fminl | ( | long double | x, |
long double | y | ||
) |
determine minimum numeric value of two floating-point numbers
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double frexp | ( | double | x, |
int * | exp | ||
) |
extract mantissa and exponent from a double precision number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float frexpf | ( | float | x, |
int * | exp | ||
) |
extract mantissa and exponent from a double precision number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double frexpl | ( | long double | x, |
int * | exp | ||
) |
extract mantissa and exponent from a double precision number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double hypot | ( | double | x, |
double | y | ||
) |
Euclidean distance function.
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float hypotf | ( | float | x, |
float | y | ||
) |
Euclidean distance function.
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double hypotl | ( | long double | x, |
long double | y | ||
) |
Euclidean distance function.
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double j0 | ( | double | x | ) |
Bessel functions of the first kind.
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float j0f | ( | float | x | ) |
returns Bessel functions of x of the first kind of orders 0
#include <tinyara/math.h>
[in] | x | float type value which wants to calc j0 |
double j1 | ( | double | x | ) |
Bessel functions of the first kind.
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float j1f | ( | float | x | ) |
returns Bessel functions of x of the first kind of orders 1
#include <tinyara/math.h>
[in] | x | float type value which wants to calc j1 |
double jn | ( | int | n, |
double | x | ||
) |
Bessel functions of the first kind.
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float jnf | ( | int | n, |
float | x | ||
) |
returns Bessel functions of x of the first kind of orders n
#include <tinyara/math.h>
[in] | n | the number which want to calc the first kind of orders |
[in] | x | float type value which wants to calc jn |
double ldexp | ( | double | x, |
int | n | ||
) |
load exponent of a floating-point number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float ldexpf | ( | float | x, |
int | n | ||
) |
load exponent of a floating-point number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double ldexpl | ( | long double | x, |
int | n | ||
) |
load exponent of a floating-point number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double log2 | ( | double | x | ) |
compute base 2 logarithm functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float log2f | ( | float | x | ) |
compute base 2 logarithm functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double log2l | ( | long double | x | ) |
compute base 2 logarithm functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double nextafter | ( | double | x, |
double | y | ||
) |
next representable floating-point number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float nextafterf | ( | float | x, |
float | y | ||
) |
next representable floating-point number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double nextafterl | ( | long double | x, |
long double | y | ||
) |
next representable floating-point number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double nexttoward | ( | double | x, |
long double | y | ||
) |
next representable floating-point number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float nexttowardf | ( | float | x, |
long double | y | ||
) |
next representable floating-point number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double nexttowardl | ( | long double | x, |
long double | y | ||
) |
next representable floating-point number
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double pow | ( | double | b, |
double | e | ||
) |
power function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double remainder | ( | double | x, |
double | y | ||
) |
remainder function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float remainderf | ( | float | x, |
float | y | ||
) |
remainder function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double remainderl | ( | long double | x, |
long double | y | ||
) |
remainder function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double remquo | ( | double | x, |
double | y, | ||
int * | quo | ||
) |
remainder functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float remquof | ( | float | x, |
float | y, | ||
int * | quo | ||
) |
remainder functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double remquol | ( | long double | x, |
long double | y, | ||
int * | quo | ||
) |
remainder functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double rint | ( | double | x | ) |
round-to-nearest integral value
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float rintf | ( | float | x | ) |
round-to-nearest integral value
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double rintl | ( | long double | x | ) |
round-to-nearest integral value
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double round | ( | double | x | ) |
round to the nearest integer value in a floating-point format
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float roundf | ( | float | x | ) |
round to the nearest integer value in a floating-point format
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double roundl | ( | long double | x | ) |
round to the nearest integer value in a floating-point format
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double scalbn | ( | double | x, |
int | exp | ||
) |
compute exponent using FLT_RADIX
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float scalbnf | ( | float | x, |
int | exp | ||
) |
compute exponent using FLT_RADIX
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double scalbnl | ( | long double | x, |
int | exp | ||
) |
compute exponent using FLT_RADIX
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double sin | ( | double | x | ) |
sine function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float sinf | ( | float | x | ) |
sine function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double sinh | ( | double | x | ) |
hyperbolic sine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float sinhf | ( | float | x | ) |
hyperbolic sine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double sinhl | ( | long double | x | ) |
hyperbolic sine functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double sinl | ( | long double | x | ) |
sine function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double sqrt | ( | double | x | ) |
square root function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float sqrtf | ( | float | x | ) |
square root function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double sqrtl | ( | long double | x | ) |
square root function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double tan | ( | double | x | ) |
tangent function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float tanf | ( | float | x | ) |
tangent function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double tanh | ( | double | x | ) |
hyperbolic tangent functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float tanhf | ( | float | x | ) |
hyperbolic tangent functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double tanhl | ( | long double | x | ) |
hyperbolic tangent functions
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double tanl | ( | long double | x | ) |
tangent function
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double trunc | ( | double | x | ) |
round to truncated integer value
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float truncf | ( | float | x | ) |
round to truncated integer value
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
long double truncl | ( | long double | x | ) |
round to truncated integer value
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
double y0 | ( | double | x | ) |
Bessel functions of the second kind.
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float y0f | ( | float | x | ) |
returns Bessel functions of x of the second kind of orders 0
#include <tinyara/math.h>
[in] | x | float type value which wants to calc j0, it should be positive |
double y1 | ( | double | x | ) |
Bessel functions of the second kind.
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float y1f | ( | float | x | ) |
returns Bessel functions of x of the second kind of orders 1
#include <tinyara/math.h>
[in] | x | float type value which wants to calc j1, it should be positive |
double yn | ( | int | n, |
double | x | ||
) |
Bessel functions of the second kind.
#include <tinyara/math.h>
POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
float ynf | ( | int | n, |
float | x | ||
) |
returns Bessel functions of x of the second kind of orders n
#include <tinyara/math.h>
[in] | n | the number which want to calc the second kind of orders |
[in] | x | float type value which wants to calc jn, it should be positive |