Iros
 
Loading...
Searching...
No Matches
math.h File Reference
#include <ccpp/bits/config.h>

Go to the source code of this file.

Macros

#define HUGE_VAL   __builtin_huge_val()
 
#define HUGE_VALF   __builtin_huge_valf()
 
#define HUGE_VALL   __builtin_huge_vall()
 
#define INFINITY   __builtin_inff()
 
#define NAN   __builtin_nanf("")
 
#define FP_NAN   0
 
#define FP_INFINITE   1
 
#define FP_ZERO   2
 
#define FP_SUBNORMAL   3
 
#define FP_NORMAL   4
 
#define fpclassify(x)
 
#define isfinite(x)
 
#define isinf(x)
 
#define isnan(x)
 
#define isnormal(x)
 
#define signbit(x)
 
#define isgreater(x, y)
 
#define isgreaterequal(x, y)
 
#define isless(x, y)
 
#define islessequal(x, y)
 
#define islessgreater(x, y)
 
#define isunordered(x, y)
 

Typedefs

typedef double double_t
 

Functions

double fabs (double __x)
 
float fabsf (float __x)
 
long double fabsl (long double __x)
 
double fmod (double __x, double __y)
 
float fmodf (float __x, float __y)
 
long double fmodl (long double __x, long double __y)
 
double remainder (double __x, double __y)
 
float remainderf (float __x, float __y)
 
long double remainderl (long double __x, long double __y)
 
double remquo (double __x, double __y, int *__quo)
 
float remquof (float __x, float __y, int *__quo)
 
long double remquol (long double __x, long double __y, int *__quo)
 
double fma (double __x, double __y, double __z)
 
float fmaf (float __x, float __y, float __z)
 
long double fmal (long double __x, long double __y, long double __z)
 
double fmax (double __x, double __y)
 
float fmaxf (float __x, float __y)
 
long double fmaxl (long double __x, long double __y)
 
double fmin (double __x, double __y)
 
float fminf (float __x, float __y)
 
long double fminl (long double __x, long double __y)
 
double fdim (double __x, double __y)
 
float fdimf (float __x, float __y)
 
long double fdiml (long double __x, long double __y)
 
double nan (char const *__arg)
 
float nanf (char const *__arg)
 
long double nanl (char const *__arg)
 
double exp (double __x)
 
float expf (float __x)
 
long double expl (long double __x)
 
double exp2 (double __x)
 
float exp2f (float __x)
 
long double exp2l (long double __x)
 
double exmpm1 (double __x)
 
float expm1f (float __x)
 
long double expm1l (long double __x)
 
double log (double __x)
 
float logf (float __x)
 
long double logl (long double __x)
 
double log10 (double __x)
 
float log10f (float __x)
 
long double log10l (long double __x)
 
double log2 (double __x)
 
float log2f (float __x)
 
long double log2l (long double __x)
 
double log1p (double __x)
 
float log1pf (float __x)
 
long double log1pl (long double __x)
 
double pow (double __x, double __y)
 
float powf (float __x, float __y)
 
long double powl (long double __x, long double __y)
 
double sqrt (double __x)
 
float sqrtf (float __x)
 
long double sqrtl (long double __x)
 
double cbrt (double __x)
 
float cbrtf (float __x)
 
long double cbrtl (long double __x)
 
double hypot (double __x, double __y)
 
float hypotf (float __x, float __y)
 
long double hypotl (long double __x, long double __y)
 
double sin (double __x)
 
float sinf (float __x)
 
long double sinl (long double __x)
 
double cos (double __x)
 
float cosf (float __x)
 
long double cosl (long double __x)
 
double tan (double __x)
 
float tanf (float __x)
 
long double tanl (long double __x)
 
double asin (double __x)
 
float asinf (float __x)
 
long double asinl (long double __x)
 
double acos (double __x)
 
float acosf (float __x)
 
long double acosl (long double __x)
 
double atan (double __x)
 
float atanf (float __x)
 
long double atanl (long double __x)
 
double atan2 (double __y, double __x)
 
float atan2f (float __y, float __x)
 
long double atan2l (long double __y, long double __x)
 
double sinh (double __x)
 
float sinhf (float __x)
 
long double sinhl (long double __x)
 
double cosh (double __x)
 
float coshf (float __x)
 
long double coshl (long double __x)
 
double tanh (double __x)
 
float tanhf (float __x)
 
long double tanhl (long double __x)
 
double asinh (double __x)
 
float asinhf (float __x)
 
long double asinhl (long double __x)
 
double acosh (double __x)
 
float acoshf (float __x)
 
long double acoshl (long double __x)
 
double atanh (double __x)
 
float atanhf (float __x)
 
long double atanhl (long double __x)
 
double erf (double __x)
 
float erff (float __x)
 
long double erfl (long double __x)
 
double erfc (double __x)
 
float erfcf (float __x)
 
long double erfcl (long double __x)
 
double tgamma (double __x)
 
float tgammaf (float __x)
 
long double tgammal (long double __x)
 
double lgamma (double __x)
 
float lgammaf (float __x)
 
long double lgammal (long double __x)
 
double ceil (double __x)
 
float ceilf (float __x)
 
long double ceill (long double __x)
 
double floor (double __x)
 
float floorf (float __x)
 
long double floorl (long double __x)
 
double trunc (double __x)
 
float truncf (float __x)
 
long double truncl (long double __x)
 
double round (double __x)
 
float roundf (float __x)
 
long double roundl (long double __x)
 
long lround (double __x)
 
long lroundf (float __x)
 
long lroundl (long double __x)
 
long long llround (double __x)
 
long long llroundf (float __x)
 
long long llroundl (long double __x)
 
double nearbyint (double __x)
 
float nearbyintf (float __x)
 
long double nearbyintl (long double __x)
 
double rint (double __x)
 
float rintf (float __x)
 
long double rintl (long double __x)
 
long lrint (double __x)
 
long lrintf (float __x)
 
long lrintl (long double __x)
 
long long llrint (double __x)
 
long long llrintf (float __x)
 
long long llrintl (long double __x)
 
double frexp (double __x, int *__exp)
 
float frexpf (float __x, int *__exp)
 
long double frexpl (long double __x, int *__exp)
 
double ldexp (double __x, int __exp)
 
float ldexpf (float __x, int __exp)
 
long double ldexpl (long double __x, int __exp)
 
double modf (double __x, double *__iptr)
 
float modff (float __x, float *__iptr)
 
long double modfl (long double __x, long double *__iptr)
 
double scalbn (double __x, int __n)
 
float scalbnf (float __x, int __n)
 
long double scalbnl (long double __x, int __n)
 
double scalbln (double __x, long __n)
 
float scalblnf (float __x, long __n)
 
long double scalblnl (long double __x, long __n)
 
int ilogb (double __x)
 
int ilogbf (float __x)
 
int ilogbl (long double __x)
 
double logb (double __x)
 
float logbf (float __x)
 
long double logbl (long double __x)
 
double nextafter (double __x, double __y)
 
float nextafterf (float __x, float __y)
 
long double nextafterl (long double __x, long double __y)
 
double nexttoward (double __x, long double __y)
 
float nexttowardf (float __x, long double __y)
 
long double nexttowardl (long double __x, long double __y)
 
double copysign (double __x, double __y)
 
float copysignf (float __x, float __y)
 
long double copysignl (long double __x, long double __y)
 

Variables

__CCPP_BEGIN_DECLARATIONS typedef float float_t
 

Macro Definition Documentation

◆ FP_INFINITE

#define FP_INFINITE   1

◆ FP_NAN

#define FP_NAN   0

◆ FP_NORMAL

#define FP_NORMAL   4

◆ FP_SUBNORMAL

#define FP_SUBNORMAL   3

◆ FP_ZERO

#define FP_ZERO   2

◆ fpclassify

#define fpclassify ( x)
Value:
__builtin_fpclassify(FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL, x)
#define FP_NAN
Definition math.h:18
#define FP_ZERO
Definition math.h:20
#define FP_INFINITE
Definition math.h:19
#define FP_NORMAL
Definition math.h:22
#define FP_SUBNORMAL
Definition math.h:21

◆ HUGE_VAL

#define HUGE_VAL   __builtin_huge_val()

◆ HUGE_VALF

#define HUGE_VALF   __builtin_huge_valf()

◆ HUGE_VALL

#define HUGE_VALL   __builtin_huge_vall()

◆ INFINITY

#define INFINITY   __builtin_inff()

◆ isfinite

#define isfinite ( x)
Value:
__builtin_isfinite(x)

◆ isgreater

#define isgreater ( x,
y )
Value:
__builtin_isgreater(x, y)

◆ isgreaterequal

#define isgreaterequal ( x,
y )
Value:
__builtin_isgreaterequal(x, y)

◆ isinf

#define isinf ( x)
Value:
__builtin_isinf_sign(x)

◆ isless

#define isless ( x,
y )
Value:
__builtin_isless(x, y)

◆ islessequal

#define islessequal ( x,
y )
Value:
__builtin_islessequal(x, y)

◆ islessgreater

#define islessgreater ( x,
y )
Value:
__builtin_islessgreater(x, y)

◆ isnan

#define isnan ( x)
Value:
__builtin_isnan(x)

◆ isnormal

#define isnormal ( x)
Value:
__builtin_isnormal(x)

◆ isunordered

#define isunordered ( x,
y )
Value:
__builtin_isunordered(x, y)

◆ NAN

#define NAN   __builtin_nanf("")

◆ signbit

#define signbit ( x)
Value:
__builtin_signbit(x)

Typedef Documentation

◆ double_t

typedef double double_t

Function Documentation

◆ acos()

double acos ( double __x)

◆ acosf()

float acosf ( float __x)

◆ acosh()

double acosh ( double __x)

◆ acoshf()

float acoshf ( float __x)

◆ acoshl()

long double acoshl ( long double __x)

◆ acosl()

long double acosl ( long double __x)

◆ asin()

double asin ( double __x)

◆ asinf()

float asinf ( float __x)

◆ asinh()

double asinh ( double __x)

◆ asinhf()

float asinhf ( float __x)

◆ asinhl()

long double asinhl ( long double __x)

◆ asinl()

long double asinl ( long double __x)

◆ atan()

double atan ( double __x)

◆ atan2()

double atan2 ( double __y,
double __x )

◆ atan2f()

float atan2f ( float __y,
float __x )

◆ atan2l()

long double atan2l ( long double __y,
long double __x )

◆ atanf()

float atanf ( float __x)

◆ atanh()

double atanh ( double __x)

◆ atanhf()

float atanhf ( float __x)

◆ atanhl()

long double atanhl ( long double __x)

◆ atanl()

long double atanl ( long double __x)

◆ cbrt()

double cbrt ( double __x)

◆ cbrtf()

float cbrtf ( float __x)

◆ cbrtl()

long double cbrtl ( long double __x)

◆ ceil()

double ceil ( double __x)

◆ ceilf()

float ceilf ( float __x)

◆ ceill()

long double ceill ( long double __x)

◆ copysign()

double copysign ( double __x,
double __y )

◆ copysignf()

float copysignf ( float __x,
float __y )

◆ copysignl()

long double copysignl ( long double __x,
long double __y )

◆ cos()

double cos ( double __x)

◆ cosf()

float cosf ( float __x)

◆ cosh()

double cosh ( double __x)

◆ coshf()

float coshf ( float __x)

◆ coshl()

long double coshl ( long double __x)

◆ cosl()

long double cosl ( long double __x)

◆ erf()

double erf ( double __x)

◆ erfc()

double erfc ( double __x)

◆ erfcf()

float erfcf ( float __x)

◆ erfcl()

long double erfcl ( long double __x)

◆ erff()

float erff ( float __x)

◆ erfl()

long double erfl ( long double __x)

◆ exmpm1()

double exmpm1 ( double __x)

◆ exp()

double exp ( double __x)

◆ exp2()

double exp2 ( double __x)

◆ exp2f()

float exp2f ( float __x)

◆ exp2l()

long double exp2l ( long double __x)

◆ expf()

float expf ( float __x)

◆ expl()

long double expl ( long double __x)

◆ expm1f()

float expm1f ( float __x)

◆ expm1l()

long double expm1l ( long double __x)

◆ fabs()

double fabs ( double __x)

◆ fabsf()

float fabsf ( float __x)

◆ fabsl()

long double fabsl ( long double __x)

◆ fdim()

double fdim ( double __x,
double __y )

◆ fdimf()

float fdimf ( float __x,
float __y )

◆ fdiml()

long double fdiml ( long double __x,
long double __y )

◆ floor()

double floor ( double __x)

◆ floorf()

float floorf ( float __x)

◆ floorl()

long double floorl ( long double __x)

◆ fma()

double fma ( double __x,
double __y,
double __z )

◆ fmaf()

float fmaf ( float __x,
float __y,
float __z )

◆ fmal()

long double fmal ( long double __x,
long double __y,
long double __z )

◆ fmax()

double fmax ( double __x,
double __y )

◆ fmaxf()

float fmaxf ( float __x,
float __y )

◆ fmaxl()

long double fmaxl ( long double __x,
long double __y )

◆ fmin()

double fmin ( double __x,
double __y )

◆ fminf()

float fminf ( float __x,
float __y )

◆ fminl()

long double fminl ( long double __x,
long double __y )

◆ fmod()

double fmod ( double __x,
double __y )

◆ fmodf()

float fmodf ( float __x,
float __y )

◆ fmodl()

long double fmodl ( long double __x,
long double __y )

◆ frexp()

double frexp ( double __x,
int * __exp )

◆ frexpf()

float frexpf ( float __x,
int * __exp )

◆ frexpl()

long double frexpl ( long double __x,
int * __exp )

◆ hypot()

double hypot ( double __x,
double __y )

◆ hypotf()

float hypotf ( float __x,
float __y )

◆ hypotl()

long double hypotl ( long double __x,
long double __y )

◆ ilogb()

int ilogb ( double __x)

◆ ilogbf()

int ilogbf ( float __x)

◆ ilogbl()

int ilogbl ( long double __x)

◆ ldexp()

double ldexp ( double __x,
int __exp )

◆ ldexpf()

float ldexpf ( float __x,
int __exp )

◆ ldexpl()

long double ldexpl ( long double __x,
int __exp )

◆ lgamma()

double lgamma ( double __x)

◆ lgammaf()

float lgammaf ( float __x)

◆ lgammal()

long double lgammal ( long double __x)

◆ llrint()

long long llrint ( double __x)

◆ llrintf()

long long llrintf ( float __x)

◆ llrintl()

long long llrintl ( long double __x)

◆ llround()

long long llround ( double __x)

◆ llroundf()

long long llroundf ( float __x)

◆ llroundl()

long long llroundl ( long double __x)

◆ log()

double log ( double __x)

◆ log10()

double log10 ( double __x)

◆ log10f()

float log10f ( float __x)

◆ log10l()

long double log10l ( long double __x)

◆ log1p()

double log1p ( double __x)

◆ log1pf()

float log1pf ( float __x)

◆ log1pl()

long double log1pl ( long double __x)

◆ log2()

double log2 ( double __x)

◆ log2f()

float log2f ( float __x)

◆ log2l()

long double log2l ( long double __x)

◆ logb()

double logb ( double __x)

◆ logbf()

float logbf ( float __x)

◆ logbl()

long double logbl ( long double __x)

◆ logf()

float logf ( float __x)

◆ logl()

long double logl ( long double __x)

◆ lrint()

long lrint ( double __x)

◆ lrintf()

long lrintf ( float __x)

◆ lrintl()

long lrintl ( long double __x)

◆ lround()

long lround ( double __x)

◆ lroundf()

long lroundf ( float __x)

◆ lroundl()

long lroundl ( long double __x)

◆ modf()

double modf ( double __x,
double * __iptr )

◆ modff()

float modff ( float __x,
float * __iptr )

◆ modfl()

long double modfl ( long double __x,
long double * __iptr )

◆ nan()

double nan ( char const * __arg)

◆ nanf()

float nanf ( char const * __arg)

◆ nanl()

long double nanl ( char const * __arg)

◆ nearbyint()

double nearbyint ( double __x)

◆ nearbyintf()

float nearbyintf ( float __x)

◆ nearbyintl()

long double nearbyintl ( long double __x)

◆ nextafter()

double nextafter ( double __x,
double __y )

◆ nextafterf()

float nextafterf ( float __x,
float __y )

◆ nextafterl()

long double nextafterl ( long double __x,
long double __y )

◆ nexttoward()

double nexttoward ( double __x,
long double __y )

◆ nexttowardf()

float nexttowardf ( float __x,
long double __y )

◆ nexttowardl()

long double nexttowardl ( long double __x,
long double __y )

◆ pow()

double pow ( double __x,
double __y )

◆ powf()

float powf ( float __x,
float __y )

◆ powl()

long double powl ( long double __x,
long double __y )

◆ remainder()

double remainder ( double __x,
double __y )

◆ remainderf()

float remainderf ( float __x,
float __y )

◆ remainderl()

long double remainderl ( long double __x,
long double __y )

◆ remquo()

double remquo ( double __x,
double __y,
int * __quo )

◆ remquof()

float remquof ( float __x,
float __y,
int * __quo )

◆ remquol()

long double remquol ( long double __x,
long double __y,
int * __quo )

◆ rint()

double rint ( double __x)

◆ rintf()

float rintf ( float __x)

◆ rintl()

long double rintl ( long double __x)

◆ round()

double round ( double __x)

◆ roundf()

float roundf ( float __x)

◆ roundl()

long double roundl ( long double __x)

◆ scalbln()

double scalbln ( double __x,
long __n )

◆ scalblnf()

float scalblnf ( float __x,
long __n )

◆ scalblnl()

long double scalblnl ( long double __x,
long __n )

◆ scalbn()

double scalbn ( double __x,
int __n )

◆ scalbnf()

float scalbnf ( float __x,
int __n )

◆ scalbnl()

long double scalbnl ( long double __x,
int __n )

◆ sin()

double sin ( double __x)

◆ sinf()

float sinf ( float __x)

◆ sinh()

double sinh ( double __x)

◆ sinhf()

float sinhf ( float __x)

◆ sinhl()

long double sinhl ( long double __x)

◆ sinl()

long double sinl ( long double __x)

◆ sqrt()

double sqrt ( double __x)

◆ sqrtf()

float sqrtf ( float __x)

◆ sqrtl()

long double sqrtl ( long double __x)

◆ tan()

double tan ( double __x)

◆ tanf()

float tanf ( float __x)

◆ tanh()

double tanh ( double __x)

◆ tanhf()

float tanhf ( float __x)

◆ tanhl()

long double tanhl ( long double __x)

◆ tanl()

long double tanl ( long double __x)

◆ tgamma()

double tgamma ( double __x)

◆ tgammaf()

float tgammaf ( float __x)

◆ tgammal()

long double tgammal ( long double __x)

◆ trunc()

double trunc ( double __x)

◆ truncf()

float truncf ( float __x)

◆ truncl()

long double truncl ( long double __x)

Variable Documentation

◆ float_t

__CCPP_BEGIN_DECLARATIONS typedef float float_t