23#define _USE_MATH_DEFINES
36#define DEF_DBL_PREC 1.0e-15
40#define DEF_FLT_PREC 1.0e-7
63 DoubleAc(
double f,
double ffmin,
double ffmax);
64 DoubleAc(
double f,
double relative_prec);
75 inline operator double(
void)
const {
return d; }
76 inline double get(
void)
const {
return d; }
112 void print(std::ostream& file,
int l = 1)
const;
195 }
else if (f > 0.0) {
209 }
else if (f > 0.0) {
353 mcerr <<
"inline DoubleAc& DoubleAc::operator/=(double f):\n"
370 mcerr <<
"inline DoubleAc& DoubleAc::operator/=(float f):\n"
387 mcerr <<
"inline DoubleAc& DoubleAc::operator/=(long f):\n"
404 mcerr <<
"inline DoubleAc& DoubleAc::operator/=(int f):\n"
628 return (a.
get() < b.
get() ? a : b);
656 return (a.
get() > b.
get() ? a : b);
702#define Iprintda(file, name) \
703 file << indn << #name << "=" << noindent; \
704 name.print(file, 3); \
707#define Iprintdan(file, name) \
708 file << indn << #name << "=" << noindent; \
709 name.print(file, 3); \
710 file << yesindent << '\n';
DoubleAc fabs(const DoubleAc &f)
DoubleAc cos(const DoubleAc &f)
DoubleAc operator-(const DoubleAc &f)
DoubleAc operator+(const DoubleAc &f1, const DoubleAc &f2)
DoubleAc find_min(const DoubleAc &a, const DoubleAc &b)
DoubleAc asin(const DoubleAc &f)
const double one_plus_def_dbl_prec
DoubleAc pow(const DoubleAc &f, double p)
DoubleAc operator/(const DoubleAc &f1, const DoubleAc &f2)
void change_sign(DoubleAc &f)
DoubleAc sqrt(const DoubleAc &f)
DoubleAc find_max(const DoubleAc &a, const DoubleAc &b)
const double one_plus_def_flt_prec
DoubleAc operator*(const DoubleAc &f1, const DoubleAc &f2)
DoubleAc square(const DoubleAc &f)
DoubleAc sin(const DoubleAc &f)
const double one_minus_def_flt_prec
std::ostream & operator<<(std::ostream &file, const DoubleAc &f)
DoubleAc acos(const DoubleAc &f)
const double one_minus_def_dbl_prec
DoubleAc exp(const DoubleAc &f)
DoubleAc & operator/=(DoubleAc f)
double get_max_limit(void) const
double get_min_limit(void) const
void print(std::ostream &file, int l=1) const
DoubleAc & operator=(const DoubleAc &f)
DoubleAc & operator*=(DoubleAc f)
double get_low_limit(void) const
double get_right_limit(void) const
double get_accuracy(void) const
DoubleAc & operator+=(const DoubleAc &f)
double get_high_limit(void) const
friend void change_sign(DoubleAc &f)
DoubleAc(const DoubleAc &f)
double left_limit(void) const
double right_limit(void) const
DoubleAc & operator-=(const DoubleAc &f)
double get_left_limit(void) const