17#define _USE_MATH_DEFINES
30#define DEF_DBL_PREC 1.0e-15
34#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;
194 }
else if (f > 0.0) {
208 }
else if (f > 0.0) {
352 mcerr <<
"inline DoubleAc& DoubleAc::operator/=(double f):\n"
369 mcerr <<
"inline DoubleAc& DoubleAc::operator/=(float f):\n"
386 mcerr <<
"inline DoubleAc& DoubleAc::operator/=(long f):\n"
403 mcerr <<
"inline DoubleAc& DoubleAc::operator/=(int f):\n"
627 return (a.
get() < b.
get() ? a : b);
655 return (a.
get() > b.
get() ? a : b);
682DoubleAc
sqrt(
const DoubleAc& f);
684DoubleAc
square(
const DoubleAc& f);
686DoubleAc
pow(
const DoubleAc& f,
double p);
688DoubleAc
exp(
const DoubleAc& f);
690DoubleAc
sin(
const DoubleAc& f);
692DoubleAc
cos(
const DoubleAc& f);
694DoubleAc
asin(
const DoubleAc& f);
696DoubleAc
acos(
const DoubleAc& f);
698std::ostream&
operator<<(std::ostream& file,
const DoubleAc& f);
701#define Iprintda(file, name) \
702 file << indn << #name << "=" << noindent; \
703 name.print(file, 3); \
706#define Iprintdan(file, name) \
707 file << indn << #name << "=" << noindent; \
708 name.print(file, 3); \
709 file << yesindent << '\n';
DoubleAc & operator=(const DoubleAc &f)
double get_right_limit(void) const
DoubleAc & operator/=(DoubleAc f)
double get_low_limit(void) const
void print(std::ostream &file, int l=1) const
friend void change_sign(DoubleAc &f)
double get_left_limit(void) const
DoubleAc & operator-=(const DoubleAc &f)
double left_limit(void) const
DoubleAc(const DoubleAc &f)
double right_limit(void) const
DoubleAc & operator+=(const DoubleAc &f)
double get_min_limit(void) const
DoubleAc & operator*=(DoubleAc f)
double get_high_limit(void) const
double get_accuracy(void) const
double get_max_limit(void) const
DoubleAc cos(const DoubleAc &f)
DoubleAc operator+(const DoubleAc &f1, const DoubleAc &f2)
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)
DoubleAc pow(const DoubleAc &f, double p)
DoubleAc operator-(const DoubleAc &f)
DoubleAc operator/(const DoubleAc &f1, const DoubleAc &f2)
DoubleAc exp(const DoubleAc &f)
DoubleAc find_min(const DoubleAc &a, const DoubleAc &b)
DoubleAc square(const DoubleAc &f)
void change_sign(DoubleAc &f)
DoubleAc acos(const DoubleAc &f)
DoubleAc operator*(const DoubleAc &f1, const DoubleAc &f2)
DoubleAc fabs(const DoubleAc &f)
DoubleAc sin(const DoubleAc &f)
DoubleAc find_max(const DoubleAc &a, const DoubleAc &b)
DoubleAc asin(const DoubleAc &f)
DoubleAc sqrt(const DoubleAc &f)
const double one_plus_def_flt_prec
const double one_minus_def_dbl_prec
const double one_plus_def_dbl_prec
const double one_minus_def_flt_prec