C++ API Reference RNBO: common/RNBO_CMath.h Source File

RNBO: common/RNBO_CMath.h Source File

1 #ifndef _RNBO_CMATH_H
2 #define _RNBO_CMATH_H
3 
4 #ifdef RNBO_NOSTDLIB
5 extern "C" {
6 
7 double acos (double x);
8 float acosf(float x);
9 long double acosl(long double x);
10 
11 double asin (double x);
12 float asinf(float x);
13 long double asinl(long double x);
14 
15 double atan (double x);
16 float atanf(float x);
17 long double atanl(long double x);
18 
19 double atan2 (double y, double x);
20 float atan2f(float y, float x);
21 long double atan2l(long double y, long double x);
22 
23 double ceil (double x);
24 float ceilf(float x);
25 long double ceill(long double x);
26 
27 double cos (double x);
28 float cosf(float x);
29 long double cosl(long double x);
30 
31 double cosh (double x);
32 float coshf(float x);
33 long double coshl(long double x);
34 
35 double exp (double x);
36 float expf(float x);
37 long double expl(long double x);
38 
39 float exp2f(float);
40 double exp2(double);
41 long double exp2l(long double);
42 
43 int abs(int x);
44 double fabs (double x);
45 float fabsf(float x);
46 long double fabsl(long double x);
47 
48 double floor (double x);
49 float floorf(float x);
50 long double floorl(long double x);
51 
52 float fmaxf(float x, float y);
53 double fmax(double x, double y);
54 long double fmaxl(long double x, long double y);
55 
56 double fmod (double x, double y);
57 float fmodf(float x, float y);
58 long double fmodl(long double x, long double y);
59 
60 double frexp (double value, int* exp);
61 float frexpf(float value, int* exp);
62 long double frexpl(long double value, int* exp);
63 
64 double ldexp (double value, int exp);
65 float ldexpf(float value, int exp);
66 long double ldexpl(long double value, int exp);
67 
68 double log (double x);
69 float logf(float x);
70 long double logl(long double x);
71 
72 double log2 (double x);
73 float log2f(float x);
74 long double log2l(long double x);
75 
76 double log10 (double x);
77 float log10f(float x);
78 long double log10l(long double x);
79 
80 double log1p(double x);
81 float log1pf(float x);
82 long double log1pl(long double x);
83 
84 double modf (double value, double* iptr);
85 float modff(float value, float* iptr);
86 long double modfl(long double value, long double* iptr);
87 
88 double pow (double x, double y);
89 float powf(float x, float y);
90 long double powl(long double x, long double y);
91 
92 double sin (double x);
93 float sinf(float x);
94 long double sinl(long double x);
95 
96 double sinh (double x);
97 float sinhf(float x);
98 long double sinhl(long double x);
99 
100 double sqrt (double x);
101 float sqrtf(float x);
102 long double sqrtl(long double x);
103 
104 double cbrt(double x);
105 float cbrtf(float x);
106 long double cbrtl(long double x);
107 
108 double expm1(double x);
109 float expm1f(float x);
110 long double expm1l(long double x);
111 
112 double tan (double x);
113 float tanf(float x);
114 long double tanl(long double x);
115 
116 double tanh (double x);
117 float tanhf(float x);
118 long double tanhl(long double x);
119 
120 double trunc (double x);
121 float truncf(float x);
122 long double truncl(long double x);
123 
124 double asinh (double x);
125 float asinhf(float x);
126 long double asinhl(long double x);
127 
128 double acosh (double x);
129 float acoshf(float x);
130 long double acoshl(long double x);
131 
132 double atanh (double x);
133 float atanhf(float x);
134 long double atanhl(long double x);
135 
136 }
137 #endif // RNBO_NOSTDLIB
138 
139 #endif // #ifndef _RNBO_CMATH_H