Dataflow Runtime API  4.0.1.0
Classes | Macros | Functions | Variables
openlibm_math.h File Reference
#include "../inc/openlibm_defs.h"

Classes

union  __infinity_un
 
union  __nan_un
 

Macros

#define __pure2
 
#define __MATH_BUILTIN_CONSTANTS
 
#define __MATH_BUILTIN_RELOPS
 
#define __ISO_C_VISIBLE   1999
 
#define HUGE_VAL   __builtin_huge_val()
 
#define FP_ILOGB0   (-INT_MAX)
 
#define FP_ILOGBNAN   INT_MAX
 
#define HUGE_VALF   __builtin_huge_valf()
 
#define HUGE_VALL   __builtin_huge_vall()
 
#define INFINITY   __builtin_inff()
 
#define NAN   __builtin_nanf("")
 
#define MATH_ERRNO   1
 
#define MATH_ERREXCEPT   2
 
#define math_errhandling   MATH_ERREXCEPT
 
#define FP_FAST_FMAF   1
 
#define FP_INFINITE   0x01
 
#define FP_NAN   0x02
 
#define FP_NORMAL   0x04
 
#define FP_SUBNORMAL   0x08
 
#define FP_ZERO   0x10
 
#define c_fpclassify(x)
 
#define c_isfinite(x)
 
#define c_isinf(x)
 
#define c_isnan(x)
 
#define c_isnormal(x)
 
#define isgreater(x, y)   __builtin_isgreater((x), (y))
 
#define isgreaterequal(x, y)   __builtin_isgreaterequal((x), (y))
 
#define isless(x, y)   __builtin_isless((x), (y))
 
#define islessequal(x, y)   __builtin_islessequal((x), (y))
 
#define islessgreater(x, y)   __builtin_islessgreater((x), (y))
 
#define isunordered(x, y)   __builtin_isunordered((x), (y))
 
#define signbit(x)
 

Functions

int isopenlibm (void)
 
int __fpclassifyd (double) __pure2
 
int __fpclassifyf (float) __pure2
 
int __isfinitef (float) __pure2
 
int __isfinite (double) __pure2
 
int __isinf (double) __pure2
 
int __isinff (float) __pure2
 
int __isnan (double) __pure2
 
int __isnanf (float) __pure2
 
int __isnormalf (float) __pure2
 
int __isnormal (double) __pure2
 
int __signbit (double) __pure2
 
int __signbitf (float) __pure2
 
double c_acos (double)
 
double c_asin (double)
 
double c_atan (double)
 
double c_atan2 (double, double)
 
double c_cos (double)
 
double c_sin (double)
 
double c_tan (double)
 
double c_cosh (double)
 
double c_sinh (double)
 
double c_tanh (double)
 
double c_exp (double)
 
double c_frexp (double, int *)
 
double c_ldexp (double, int)
 
double c_log (double)
 
double c_log10 (double)
 
double c_modf (double, double *)
 
double c_pow (double, double)
 
double c_sqrt (double)
 
double c_fabs (double) __pure2
 
double c_floor (double)
 
double c_fmod (double, double)
 
double c_acosh (double)
 
double c_asinh (double)
 
double c_atanh (double)
 
double c_erf (double)
 
double c_erfc (double)
 
double c_expm1 (double)
 
double c_hypot (double, double)
 
int c_ilogb (double) __pure2
 
double c_log1p (double)
 
double c_log2 (double)
 
double c_logb (double)
 
double c_nan (const char *) __pure2
 
double c_nextafter (double, double)
 
double c_remainder (double, double)
 
double c_remquo (double, double, int *)
 
double c_rint (double)
 
double c_copysign (double, double) __pure2
 
double c_fdim (double, double)
 
double c_scalbln (double, long)
 
double c_scalbn (double, int)
 
double c_trunc (double)
 
float c_acosf (float)
 
float c_asinf (float)
 
float c_atanf (float)
 
float c_atan2f (float, float)
 
float c_cosf (float)
 
float c_sinf (float)
 
float c_tanf (float)
 
float c_coshf (float)
 
float c_sinhf (float)
 
float c_tanhf (float)
 
float c_expf (float)
 
float c_expm1f (float)
 
float c_frexpf (float, int *)
 
int c_ilogbf (float) __pure2
 
float c_ldexpf (float, int)
 
float c_log10f (float)
 
float c_log1pf (float)
 
float c_log2f (float)
 
float c_logf (float)
 
float c_modff (float, float *)
 
float c_powf (float, float)
 
float c_sqrtf (float)
 
float c_fabsf (float) __pure2
 
float c_floorf (float)
 
float c_fmodf (float, float)
 
float c_erff (float)
 
float c_erfcf (float)
 
float c_hypotf (float, float)
 
float c_acoshf (float)
 
float c_asinhf (float)
 
float c_atanhf (float)
 
float c_logbf (float)
 
float c_copysignf (float, float) __pure2
 
float c_nanf (const char *) __pure2
 
float c_nextafterf (float, float)
 
float c_remainderf (float, float)
 
float c_remquof (float, float, int *)
 
float c_rintf (float)
 
float c_scalblnf (float, long)
 
float c_scalbnf (float, int)
 
float c_truncf (float)
 
float c_fdimf (float, float)
 

Variables

const union __infinity_un __infinity
 
const union __nan_un __nan
 

Macro Definition Documentation

◆ __ISO_C_VISIBLE

#define __ISO_C_VISIBLE   1999

◆ __MATH_BUILTIN_CONSTANTS

#define __MATH_BUILTIN_CONSTANTS

◆ __MATH_BUILTIN_RELOPS

#define __MATH_BUILTIN_RELOPS

◆ __pure2

#define __pure2

◆ c_fpclassify

#define c_fpclassify (   x)
Value:
((sizeof (x) == sizeof (float)) ? __fpclassifyf(x) \
int __fpclassifyd(double) __pure2
int __fpclassifyf(float) __pure2

◆ c_isfinite

#define c_isfinite (   x)
Value:
((sizeof (x) == sizeof (float)) ? __isfinitef(x) \
: __isfinite(x))
int __isfinitef(float) __pure2
int __isfinite(double) __pure2

◆ c_isinf

#define c_isinf (   x)
Value:
((sizeof (x) == sizeof (float)) ? __isinff(x) \
: __isinf(x))
int __isinf(double) __pure2
int __isinff(float) __pure2

◆ c_isnan

#define c_isnan (   x)
Value:
((sizeof (x) == sizeof (float)) ? __isnanf(x) \
: __isnan(x))
int __isnanf(float) __pure2
int __isnan(double) __pure2

◆ c_isnormal

#define c_isnormal (   x)
Value:
((sizeof (x) == sizeof (float)) ? __isnormalf(x) \
: __isnormal(x))
int __isnormal(double) __pure2
int __isnormalf(float) __pure2

◆ FP_FAST_FMAF

#define FP_FAST_FMAF   1

◆ FP_ILOGB0

#define FP_ILOGB0   (-INT_MAX)

◆ FP_ILOGBNAN

#define FP_ILOGBNAN   INT_MAX

◆ FP_INFINITE

#define FP_INFINITE   0x01

◆ FP_NAN

#define FP_NAN   0x02

◆ FP_NORMAL

#define FP_NORMAL   0x04

◆ FP_SUBNORMAL

#define FP_SUBNORMAL   0x08

◆ FP_ZERO

#define FP_ZERO   0x10

◆ 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()

◆ isgreater

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

◆ isgreaterequal

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

◆ isless

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

◆ islessequal

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

◆ islessgreater

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

◆ isunordered

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

◆ MATH_ERREXCEPT

#define MATH_ERREXCEPT   2

◆ math_errhandling

#define math_errhandling   MATH_ERREXCEPT

◆ MATH_ERRNO

#define MATH_ERRNO   1

◆ NAN

#define NAN   __builtin_nanf("")

◆ signbit

#define signbit (   x)
Value:
((sizeof (x) == sizeof (float)) ? __signbitf(x) \
: __signbit(x))
int __signbitf(float) __pure2
int __signbit(double) __pure2

Function Documentation

◆ __fpclassifyd()

int __fpclassifyd ( double  )

◆ __fpclassifyf()

int __fpclassifyf ( float  )

◆ __isfinite()

int __isfinite ( double  )

◆ __isfinitef()

int __isfinitef ( float  )

◆ __isinf()

int __isinf ( double  )

◆ __isinff()

int __isinff ( float  )

◆ __isnan()

int __isnan ( double  )

◆ __isnanf()

int __isnanf ( float  )

◆ __isnormal()

int __isnormal ( double  )

◆ __isnormalf()

int __isnormalf ( float  )

◆ __signbit()

int __signbit ( double  )

◆ __signbitf()

int __signbitf ( float  )

◆ c_acos()

double c_acos ( double  )

◆ c_acosf()

float c_acosf ( float  )

◆ c_acosh()

double c_acosh ( double  )

◆ c_acoshf()

float c_acoshf ( float  )

◆ c_asin()

double c_asin ( double  )

◆ c_asinf()

float c_asinf ( float  )

◆ c_asinh()

double c_asinh ( double  )

◆ c_asinhf()

float c_asinhf ( float  )

◆ c_atan()

double c_atan ( double  )

◆ c_atan2()

double c_atan2 ( double  ,
double   
)

◆ c_atan2f()

float c_atan2f ( float  ,
float   
)

◆ c_atanf()

float c_atanf ( float  )

◆ c_atanh()

double c_atanh ( double  )

◆ c_atanhf()

float c_atanhf ( float  )

◆ c_copysign()

double c_copysign ( double  ,
double   
)

◆ c_copysignf()

float c_copysignf ( float  ,
float   
)

◆ c_cos()

double c_cos ( double  )

◆ c_cosf()

float c_cosf ( float  )

◆ c_cosh()

double c_cosh ( double  )

◆ c_coshf()

float c_coshf ( float  )

◆ c_erf()

double c_erf ( double  )

◆ c_erfc()

double c_erfc ( double  )

◆ c_erfcf()

float c_erfcf ( float  )

◆ c_erff()

float c_erff ( float  )

◆ c_exp()

double c_exp ( double  )

◆ c_expf()

float c_expf ( float  )

◆ c_expm1()

double c_expm1 ( double  )

◆ c_expm1f()

float c_expm1f ( float  )

◆ c_fabs()

double c_fabs ( double  )

◆ c_fabsf()

float c_fabsf ( float  )

◆ c_fdim()

double c_fdim ( double  ,
double   
)

◆ c_fdimf()

float c_fdimf ( float  ,
float   
)

◆ c_floor()

double c_floor ( double  )

◆ c_floorf()

float c_floorf ( float  )

◆ c_fmod()

double c_fmod ( double  ,
double   
)

◆ c_fmodf()

float c_fmodf ( float  ,
float   
)

◆ c_frexp()

double c_frexp ( double  ,
int *   
)

◆ c_frexpf()

float c_frexpf ( float  ,
int *   
)

◆ c_hypot()

double c_hypot ( double  ,
double   
)

◆ c_hypotf()

float c_hypotf ( float  ,
float   
)

◆ c_ilogb()

int c_ilogb ( double  )

◆ c_ilogbf()

int c_ilogbf ( float  )

◆ c_ldexp()

double c_ldexp ( double  ,
int   
)

◆ c_ldexpf()

float c_ldexpf ( float  ,
int   
)

◆ c_log()

double c_log ( double  )

◆ c_log10()

double c_log10 ( double  )

◆ c_log10f()

float c_log10f ( float  )

◆ c_log1p()

double c_log1p ( double  )

◆ c_log1pf()

float c_log1pf ( float  )

◆ c_log2()

double c_log2 ( double  )

◆ c_log2f()

float c_log2f ( float  )

◆ c_logb()

double c_logb ( double  )

◆ c_logbf()

float c_logbf ( float  )

◆ c_logf()

float c_logf ( float  )

◆ c_modf()

double c_modf ( double  ,
double *   
)

◆ c_modff()

float c_modff ( float  ,
float *   
)

◆ c_nan()

double c_nan ( const char *  )

◆ c_nanf()

float c_nanf ( const char *  )

◆ c_nextafter()

double c_nextafter ( double  ,
double   
)

◆ c_nextafterf()

float c_nextafterf ( float  ,
float   
)

◆ c_pow()

double c_pow ( double  ,
double   
)

◆ c_powf()

float c_powf ( float  ,
float   
)

◆ c_remainder()

double c_remainder ( double  ,
double   
)

◆ c_remainderf()

float c_remainderf ( float  ,
float   
)

◆ c_remquo()

double c_remquo ( double  ,
double  ,
int *   
)

◆ c_remquof()

float c_remquof ( float  ,
float  ,
int *   
)

◆ c_rint()

double c_rint ( double  )

◆ c_rintf()

float c_rintf ( float  )

◆ c_scalbln()

double c_scalbln ( double  ,
long   
)

◆ c_scalblnf()

float c_scalblnf ( float  ,
long   
)

◆ c_scalbn()

double c_scalbn ( double  ,
int   
)

◆ c_scalbnf()

float c_scalbnf ( float  ,
int   
)

◆ c_sin()

double c_sin ( double  )

◆ c_sinf()

float c_sinf ( float  )

◆ c_sinh()

double c_sinh ( double  )

◆ c_sinhf()

float c_sinhf ( float  )

◆ c_sqrt()

double c_sqrt ( double  )

◆ c_sqrtf()

float c_sqrtf ( float  )

◆ c_tan()

double c_tan ( double  )

◆ c_tanf()

float c_tanf ( float  )

◆ c_tanh()

double c_tanh ( double  )

◆ c_tanhf()

float c_tanhf ( float  )

◆ c_trunc()

double c_trunc ( double  )

◆ c_truncf()

float c_truncf ( float  )

◆ isopenlibm()

int isopenlibm ( void  )

Variable Documentation

◆ __infinity

const union __infinity_un __infinity

◆ __nan

const union __nan_un __nan