27 #include "xscclass.hpp" 37 inline real t_std_fct_call(
int (fct)(
const ExtReal *,ExtReal *),
const real &
arg)
43 t_ltoe((LongReal*)&erg,&a);
45 t_etol(&r,(LongReal*)&erg);
50 inline real t_std_fct_call(
int (fct)(
const ExtReal *,
const ExtReal *,ExtReal *),
const real & arg1,
const real & arg2)
52 real erg(arg1),expo(arg2);
56 t_ltoe((LongReal*)&erg,&a);
57 t_ltoe((LongReal*)&expo,&b);
59 t_etol(&r,(LongReal*)&erg);
64 inline real sqr(
const real &arg)
throw() {
return (arg*arg); }
65 inline real sqrt(
const real & arg) {
return q_sqrt(*(
double *)&arg); }
74 t_ltoe((LongReal*)&erg,&a);
76 t_etol(&r,(LongReal*)&erg);
81 inline real sin(
const real & arg)
throw() {
return q_sin(*(
double*)&arg); }
82 inline real cos(
const real & arg)
throw() {
return q_cos(*(
double*)&arg); }
83 inline real tan(
const real & arg)
throw() {
return q_tan(*(
double*)&arg); }
84 inline real cot(
const real & arg)
throw() {
return q_cot(*(
double*)&arg); }
86 inline real asin(
const real & arg) {
return q_asin(*(
double*)&arg); }
87 inline real acos(
const real & arg) {
return q_acos(*(
double*)&arg); }
88 inline real atan(
const real & arg) {
return q_atan(*(
double*)&arg); }
89 inline real acot(
const real & arg) {
return q_acot(*(
double*)&arg); }
91 inline real expm1(
const real & arg)
throw() {
return q_expm(*(
double*)&arg); }
92 inline real lnp1(
const real & arg) {
return q_lg1p(*(
double*)&arg); }
94 inline real exp(
const real & arg)
throw() {
return q_exp(*(
double*)&arg); }
95 inline real ln(
const real & arg) {
return q_log(*(
double*)&arg); }
96 inline real log2(
const real & arg) {
return q_log2(*(
double*)&arg); }
99 inline real sinh(
const real & arg)
throw() {
return q_sinh(*(
double*)&arg); }
100 inline real cosh(
const real & arg)
throw() {
return q_cosh(*(
double*)&arg); }
101 inline real tanh(
const real & arg)
throw() {
return q_tanh(*(
double*)&arg); }
102 inline real coth(
const real & arg)
throw() {
return q_coth(*(
double*)&arg); }
120 inline real erf(
const real & arg) {
return q_erf(*(
double*)&arg); }
131 real erg(arg),expohelp(expo);
135 t_ltoe((LongReal*)&erg,&a);
136 t_ltoe((LongReal*)&expohelp,&b);
138 t_etol(&r,(LongReal*)&erg);
cinterval log2(const cinterval &z)
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.
cinterval acot(const cinterval &z)
Calculates .
cinterval atan(const cinterval &z)
Calculates .
cinterval acos(const cinterval &z)
Calculates .
cinterval sqr(const cinterval &z)
Calculates .
cinterval expm1(const cinterval &z)
Calculates .
cinterval tanh(const cinterval &z)
Calculates .
cinterval asinh(const cinterval &z)
Calculates .
cinterval log10(const cinterval &z)
Calculates .
cinterval lnp1(const cinterval &z)
Calculates .
interval erfc(const interval &a)
The complementary Gauss error function .
cinterval sqrt(const cinterval &z)
Calculates .
cinterval cos(const cinterval &z)
Calculates .
cinterval atanh(const cinterval &z)
Calculates .
cinterval exp(const cinterval &z)
Calculates .
cinterval cosh(const cinterval &z)
Calculates .
real sqrtm1(const real &)
Calculates .
cinterval tan(const cinterval &z)
Calculates .
cinterval sinh(const cinterval &z)
Calculates .
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 .
interval arg(const cinterval &z)
Calculates .
cinterval power(const cinterval &z, int n)
Calculates .
interval erf(const interval &a)
The Gauss error function .
cinterval acosh(const cinterval &z)
Calculates .