26 #ifndef _CXSC_RMATH_HPP_INCLUDED 27 #define _CXSC_RMATH_HPP_INCLUDED 35 inline real
sqr (
const real&) throw();
37 inline real
sqrt (const real&);
39 inline real
sqrt (const real &,
int);
43 inline real
sqrtm1 (const real&);
49 real
sqrt1mx2(const real&) throw(STD_FKT_OUT_OF_DEF);
53 inline real
sin (const real&) throw();
57 inline real
cos (const real&) throw();
59 inline real
tan (const real&) throw();
61 inline real
cot (const real&) throw();
64 inline real
asin (const real&);
66 inline real
acos (const real&);
68 inline real
atan (const real&);
70 inline real
acot (const real&);
73 inline real
exp (const real&) throw();
75 inline real
expm1 (const real&) throw();
77 real
expmx2 (const real&) throw();
79 real
expx2 (const real& x);
84 inline real
lnp1 (const real&);
86 inline real
ln (const real&);
88 inline real
log2 (const real&);
90 inline real
log10 (const real&);
93 inline real
sinh (const real&) throw();
95 inline real
cosh (const real&) throw();
97 real
acoshp1(const real& x) throw();
99 inline real
tanh (const real&) throw();
101 inline real
coth (const real&) throw();
104 inline real
asinh (const real&);
106 inline real
acosh (const real&);
108 inline real
atanh (const real&);
110 inline real
acoth (const real&);
112 inline real
erf (const real&);
114 inline real
erfc (const real&);
116 real
gamma (const real& x);
118 real
gammar(const real& x);
121 inline real
pow (const real&, const real&);
123 inline real
power (const real&, const
int);
126 real
sqrtx2y2(const real&, const real&) throw();
128 real
ln_sqrtx2y2(const real&, const real&) throw(STD_FKT_OUT_OF_DEF);
132 real
Cut24(const real&);
134 real
Cut25(const real&);
136 real
Cut26(const real&);
138 int Round(const real& x) throw();
140 int ceil(const real& x) throw();
142 int ifloor(const real& x) throw();
151 #endif // _CXSC_RMATH_HPP_INCLUDED cinterval sqrtx2m1(const cinterval &z)
Calculates .
int Round(const real &x)
Rouding to the next integer; |x| < 2147483647.5.
interval expx2m1(const interval &x)
Calculates .
cinterval sqrt1px2(const cinterval &z)
Calculates .
cinterval log2(const cinterval &z)
Calculates .
interval expx2(const interval &x)
Calculates .
interval sqrtx2y2(const interval &x, const interval &y)
Calculates .
cinterval ln(const cinterval &z)
Calculates .
cinterval sin(const cinterval &z)
Calculates .
cinterval cot(const cinterval &z)
Calculates .
The namespace cxsc, providing all functionality of the class library C-XSC.
interval ln_sqrtx2y2(const interval &x, const interval &y)
Calculates .
cinterval acot(const cinterval &z)
Calculates .
int ceil(const real &x)
Rounding to the smallest integer greater or equal x; -2147483649 < x <= 2147483647.0;.
int ifloor(const real &x)
Rounding to the greates integer smaller or equal x; -2147483649 < x <= 2147483647.0;.
cinterval atan(const cinterval &z)
Calculates .
cinterval acos(const cinterval &z)
Calculates .
cinterval sqr(const cinterval &z)
Calculates .
cinterval expm1(const cinterval &z)
Calculates .
interval gamma(const interval &x)
The Gamma function.
cinterval tanh(const cinterval &z)
Calculates .
cinterval asinh(const cinterval &z)
Calculates .
cinterval log10(const cinterval &z)
Calculates .
interval sinpix_pi(const interval &x)
Calculates ;.
cinterval sqrt1mx2(const cinterval &z)
Calculates .
interval acoshp1(const interval &x)
Calculates .
interval gammar(const interval &x)
The inverse Gamma function: 1/Gamma(x)
cinterval lnp1(const cinterval &z)
Calculates .
interval erfc(const interval &a)
The complementary Gauss error function .
interval expmx2(const interval &x)
Calculates .
cinterval sqrt(const cinterval &z)
Calculates .
real Cut26(const real &x)
Returns a real value, which corresponds with the first 26 mantissa bits of x.
cinterval cos(const cinterval &z)
Calculates .
cinterval atanh(const cinterval &z)
Calculates .
cinterval sqrtp1m1(const cinterval &z)
Calculates .
cinterval exp(const cinterval &z)
Calculates .
real Cut24(const real &x)
Returns a real value, which corresponds with the first 24 mantissa bits of x.
cinterval cosh(const cinterval &z)
Calculates .
real sqrtm1(const real &)
Calculates .
cinterval tan(const cinterval &z)
Calculates .
cinterval sinh(const cinterval &z)
Calculates .
real Cut25(const real &x)
Returns a real value, which corresponds with the first 25 mantissa bits of x.
cinterval asin(const cinterval &z)
Calculates .
cinterval acoth(const cinterval &z)
Calculates .
cinterval coth(const cinterval &z)
Calculates .
cinterval pow(const cinterval &z, const interval &p)
Calculates .
cinterval power(const cinterval &z, int n)
Calculates .
interval erf(const interval &a)
The Gauss error function .
cinterval acosh(const cinterval &z)
Calculates .