29#ifndef INCLUDED_BIGFLOAT_DOUBLE_H
30#define INCLUDED_BIGFLOAT_DOUBLE_H
49 bigfloat(
const char *str) {
x=std::stod(std::string(str));}
51 operator double (
void)
const {
return (
double)
x; }
184 if (
x.x>=0 )
return 1;
accelerator_inline Grid_simd< S, V > exp(const Grid_simd< S, V > &r)
accelerator_inline Grid_simd< S, V > sqrt(const Grid_simd< S, V > &r)
Lattice< obj > pow(const Lattice< obj > &rhs_i, RealD y)
friend bigfloat operator/(const bigfloat &x, const bigfloat &y)
friend bigfloat operator-(const bigfloat &x, const bigfloat &y)
friend bigfloat operator/(const unsigned long x, const bigfloat &y)
friend bigfloat operator/(const bigfloat &x, const unsigned long y)
bigfloat(const char *str)
friend int operator>(const bigfloat &x, const bigfloat &y)
bigfloat & operator+=(const bigfloat &y)
bigfloat & operator/=(const bigfloat &y)
friend bigfloat operator+(const bigfloat &x, const unsigned long y)
bigfloat & operator*=(const bigfloat &y)
friend bigfloat pow_bf(const bigfloat &a, long power)
bigfloat & operator=(const double y)
friend bigfloat operator-(const bigfloat &x)
friend int sgn(const bigfloat &x)
friend bigfloat sqrt_bf(const unsigned long x)
bigfloat & operator-=(const bigfloat &y)
friend bigfloat operator-(const bigfloat &x, const unsigned long y)
friend bigfloat exp_bf(const bigfloat &a)
friend bigfloat abs_bf(const bigfloat &x)
void setPrecision(unsigned long dprec)
bigfloat & operator=(const signed long y)
friend bigfloat operator*(const bigfloat &x, const unsigned long y)
unsigned long getPrecision(void) const
bigfloat & operator=(const bigfloat &y)
friend bigfloat sqrt_bf(const bigfloat &x)
static void setDefaultPrecision(unsigned long dprec)
friend int operator<(const bigfloat &x, const bigfloat &y)
bigfloat(const bigfloat &y)
unsigned long getDefaultPrecision(void) const
friend bigfloat operator-(const unsigned long x, const bigfloat &y)
friend bigfloat operator*(const bigfloat &x, const bigfloat &y)
bigfloat & operator=(const float y)
friend bigfloat pow_bf(const bigfloat &a, bigfloat &power)
friend bigfloat operator+(const bigfloat &x, const bigfloat &y)
bigfloat(const unsigned long u)
bigfloat & operator=(const unsigned long y)