ppALIGN API documentation

xdouble Class Reference

#include <xdouble.hpp>

List of all members.

Public Member Functions

 xdouble ()
 xdouble (const xdouble &a)
 xdouble (const double &x)
 xdouble (const int &x)
 xdouble (const long &x)
 xdouble (const unsigned int &x)
 xdouble (const unsigned long &x)
double to_double () const
assignment operators for xdouble



xdoubleoperator= (double a)
xdoubleoperator= (int a)
xdoubleoperator= (long a)
xdoubleoperator= (unsigned int &a)
xdoubleoperator= (unsigned long &a)
xdoubleoperator+= (const xdouble &b)
xdoubleoperator-= (const xdouble &b)
xdoubleoperator*= (const xdouble &b)
xdoubleoperator/= (const xdouble &b)
increment / decrement operators for xdouble



xdoubleoperator++ ()
xdoubleoperator-- ()
xdouble operator++ (int)
xdouble operator-- (int)



void normalize ()
double mantissa () const
long exponent () const

Friends

iostream for xdouble



std::ostream & operator<< (std::ostream &ost, const xdouble &v)
std::istream & operator>> (std::istream &ist, xdouble &v)
Unary operators for xdouble



xdouble operator- (const xdouble &a)
Addition



xdouble operator+ (const xdouble &a, const xdouble &b)
xdouble operator+ (const double &a, const xdouble &b)
xdouble operator+ (const int &a, const xdouble &b)
xdouble operator+ (const unsigned int &a, const xdouble &b)
xdouble operator+ (const long &a, const xdouble &b)
xdouble operator+ (const unsigned long &a, const xdouble &b)
xdouble operator+ (const xdouble &a, const double &b)
xdouble operator+ (const xdouble &a, const int &b)
xdouble operator+ (const xdouble &a, const unsigned int &b)
xdouble operator+ (const xdouble &a, const long &b)
xdouble operator+ (const xdouble &a, const unsigned long &b)
Substruction (difference)



xdouble operator- (const xdouble &a, const xdouble &b)
xdouble operator- (const double &a, const xdouble &b)
xdouble operator- (const int &a, const xdouble &b)
xdouble operator- (const unsigned int &a, const xdouble &b)
xdouble operator- (const long &a, const xdouble &b)
xdouble operator- (const unsigned long &a, const xdouble &b)
xdouble operator- (const xdouble &a, const double &b)
xdouble operator- (const xdouble &a, const int &b)
xdouble operator- (const xdouble &a, const unsigned int &b)
xdouble operator- (const xdouble &a, const long &b)
xdouble operator- (const xdouble &a, const unsigned long &b)
Multiplication (times)



xdouble operator* (const xdouble &a, const xdouble &b)
xdouble operator* (const double &a, const xdouble &b)
xdouble operator* (const int &a, const xdouble &b)
xdouble operator* (const unsigned int &a, const xdouble &b)
xdouble operator* (const long &a, const xdouble &b)
xdouble operator* (const unsigned long &a, const xdouble &b)
xdouble operator* (const xdouble &a, const double &b)
xdouble operator* (const xdouble &a, const int &b)
xdouble operator* (const xdouble &a, const unsigned int &b)
xdouble operator* (const xdouble &a, const long &b)
xdouble operator* (const xdouble &a, const unsigned long &b)
Division (quotient)



xdouble operator/ (const xdouble &a, const xdouble &b)
xdouble operator/ (const double &a, const xdouble &b)
xdouble operator/ (const int &a, const xdouble &b)
xdouble operator/ (const unsigned int &a, const xdouble &b)
xdouble operator/ (const long &a, const xdouble &b)
xdouble operator/ (const unsigned long &a, const xdouble &b)
xdouble operator/ (const xdouble &a, const double &b)
xdouble operator/ (const xdouble &a, const int &b)
xdouble operator/ (const xdouble &a, const unsigned int &b)
xdouble operator/ (const xdouble &a, const long &b)
xdouble operator/ (const xdouble &a, const unsigned long &b)
comparision operators for xdouble



long xcompare (const xdouble &a, const xdouble &b)
long xcompare (const double &a, const xdouble &b)
long xcompare (const xdouble &a, const double &b)
long operator== (const xdouble &a, const xdouble &b)
long operator!= (const xdouble &a, const xdouble &b)
long operator<= (const xdouble &a, const xdouble &b)
long operator>= (const xdouble &a, const xdouble &b)
long operator< (const xdouble &a, const xdouble &b)
long operator> (const xdouble &a, const xdouble &b)
long operator== (const double &a, const xdouble &b)
long operator!= (const double &a, const xdouble &b)
long operator<= (const double &a, const xdouble &b)
long operator>= (const double &a, const xdouble &b)
long operator< (const double &a, const xdouble &b)
long operator> (const double &a, const xdouble &b)
long operator== (const int &a, const xdouble &b)
long operator!= (const int &a, const xdouble &b)
long operator<= (const int &a, const xdouble &b)
long operator>= (const int &a, const xdouble &b)
long operator< (const int &a, const xdouble &b)
long operator> (const int &a, const xdouble &b)
long operator== (const unsigned int &a, const xdouble &b)
long operator!= (const unsigned int &a, const xdouble &b)
long operator<= (const unsigned int &a, const xdouble &b)
long operator>= (const unsigned int &a, const xdouble &b)
long operator< (const unsigned int &a, const xdouble &b)
long operator> (const unsigned int &a, const xdouble &b)
long operator== (const long &a, const xdouble &b)
long operator!= (const long &a, const xdouble &b)
long operator<= (const long &a, const xdouble &b)
long operator>= (const long &a, const xdouble &b)
long operator< (const long &a, const xdouble &b)
long operator> (const long &a, const xdouble &b)
long operator== (const unsigned long &a, const xdouble &b)
long operator!= (const unsigned long &a, const xdouble &b)
long operator<= (const unsigned long &a, const xdouble &b)
long operator>= (const unsigned long &a, const xdouble &b)
long operator< (const unsigned long &a, const xdouble &b)
long operator> (const unsigned long &a, const xdouble &b)
long operator== (const xdouble &a, const double &b)
long operator!= (const xdouble &a, const double &b)
long operator<= (const xdouble &a, const double &b)
long operator>= (const xdouble &a, const double &b)
long operator< (const xdouble &a, const double &b)
long operator> (const xdouble &a, const double &b)
long operator== (const xdouble &a, const int &b)
long operator!= (const xdouble &a, const int &b)
long operator<= (const xdouble &a, const int &b)
long operator>= (const xdouble &a, const int &b)
long operator< (const xdouble &a, const int &b)
long operator> (const xdouble &a, const int &b)
long operator== (const xdouble &a, const unsigned int &b)
long operator!= (const xdouble &a, const unsigned int &b)
long operator<= (const xdouble &a, const unsigned int &b)
long operator>= (const xdouble &a, const unsigned int &b)
long operator< (const xdouble &a, const unsigned int &b)
long operator> (const xdouble &a, const unsigned int &b)
long operator== (const xdouble &a, const long &b)
long operator!= (const xdouble &a, const long &b)
long operator<= (const xdouble &a, const long &b)
long operator>= (const xdouble &a, const long &b)
long operator< (const xdouble &a, const long &b)
long operator> (const xdouble &a, const long &b)
long operator== (const xdouble &a, const unsigned long &b)
long operator!= (const xdouble &a, const unsigned long &b)
long operator<= (const xdouble &a, const unsigned long &b)
long operator>= (const xdouble &a, const unsigned long &b)
long operator< (const xdouble &a, const unsigned long &b)
long operator> (const xdouble &a, const unsigned long &b)
mathematical functions



xdouble sqrt (const xdouble &)
long sign (const xdouble &)
xdouble trunc (const xdouble &)
xdouble floor (const xdouble &)
xdouble ceil (const xdouble &)
xdouble fabs (const xdouble &)
void power2 (xdouble &z, long e)
xdouble power (const xdouble &z, long e)
xdouble power2_xdouble (long e)
double log (const xdouble &a)
xdouble xexp (double a)
combined arithmetric



void MulAdd (xdouble &z, const xdouble &a, const xdouble &b, const xdouble &c)
void MulSub (xdouble &z, const xdouble &a, const xdouble &b, const xdouble &c)

Detailed Description

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble.

Examples:

freescore.cpp.

Definition at line 46 of file xdouble.hpp.


Constructor & Destructor Documentation

xdouble::xdouble (  )  [inline]

default constructor

Definition at line 61 of file xdouble.hpp.

xdouble::xdouble ( const xdouble a  )  [inline]

copy constructor

Parameters:
a another xdouble object

Definition at line 66 of file xdouble.hpp.

xdouble::xdouble ( const double &  x  )  [inline]

conversion from double

Parameters:
x a double value

Definition at line 71 of file xdouble.hpp.

xdouble::xdouble ( const int &  x  )  [inline]

conversion from int

Parameters:
x an int value

Definition at line 76 of file xdouble.hpp.

xdouble::xdouble ( const long &  x  )  [inline]

conversion from long

Parameters:
x a long value

Definition at line 81 of file xdouble.hpp.

xdouble::xdouble ( const unsigned int &  x  )  [inline]

conversion from unsigned int

Parameters:
x an unsigned int value

Definition at line 86 of file xdouble.hpp.

xdouble::xdouble ( const unsigned long &  x  )  [inline]

coversion from long

Parameters:
x an unsigned long value

Definition at line 91 of file xdouble.hpp.


Member Function Documentation

long xdouble::exponent (  )  const [inline]

Exponent

Returns:
the exponent of the number

Definition at line 469 of file xdouble.hpp.

double xdouble::mantissa (  )  const [inline]

Mantissa

Returns:
the mantissa of the number

Definition at line 464 of file xdouble.hpp.

void xdouble::normalize (  )  [inline]

Normalize the value. Usually this function need not be called manually.

Definition at line 603 of file xdouble.hpp.

xdouble& xdouble::operator*= ( const xdouble b  )  [inline]

Assignment by multiplication

Parameters:
b number

Definition at line 137 of file xdouble.hpp.

xdouble xdouble::operator++ ( int   )  [inline]

Postfix increment a++

Definition at line 318 of file xdouble.hpp.

xdouble& xdouble::operator++ (  )  [inline]

Prefix increment ++a

Definition at line 312 of file xdouble.hpp.

xdouble& xdouble::operator+= ( const xdouble b  )  [inline]

Assignment by addition

Parameters:
b number

Definition at line 127 of file xdouble.hpp.

xdouble xdouble::operator-- ( int   )  [inline]

Postfix increment a--

Definition at line 321 of file xdouble.hpp.

xdouble& xdouble::operator-- (  )  [inline]

Prefix decrement --a

Definition at line 315 of file xdouble.hpp.

xdouble& xdouble::operator-= ( const xdouble b  )  [inline]

Assignment by subtraction

Parameters:
b number

Definition at line 132 of file xdouble.hpp.

xdouble& xdouble::operator/= ( const xdouble b  )  [inline]

Assignment by division

Parameters:
b number

Definition at line 142 of file xdouble.hpp.

xdouble & xdouble::operator= ( unsigned long &  a  )  [inline]

Assignment from unsigned long

Parameters:
a an unsigned long value

Definition at line 642 of file xdouble.hpp.

xdouble & xdouble::operator= ( unsigned int &  a  )  [inline]

Assignment from unsigned int

Parameters:
a an unsigned int value

Definition at line 641 of file xdouble.hpp.

xdouble & xdouble::operator= ( long  a  )  [inline]

Assignment from long

Parameters:
a a long int value

Definition at line 640 of file xdouble.hpp.

xdouble & xdouble::operator= ( int  a  )  [inline]

Assignment from int

Parameters:
a an int value

Definition at line 639 of file xdouble.hpp.

xdouble & xdouble::operator= ( double  a  )  [inline]

Assignment from double

Parameters:
a a double value

Definition at line 638 of file xdouble.hpp.

double xdouble::to_double (  )  const [inline]

Conversion to double

Returns:
value converted to double

Definition at line 623 of file xdouble.hpp.


Friends And Related Function Documentation

void MulAdd ( xdouble z,
const xdouble a,
const xdouble b,
const xdouble c 
) [friend]

z = a + b*c

Parameters:
z object that is changed
a first term
b prefactor second term
c number
void MulSub ( xdouble z,
const xdouble a,
const xdouble b,
const xdouble c 
) [friend]

z = a - b*c

Parameters:
z object that is changed
a first term
b prefactor second term
c number
xdouble operator* ( const xdouble a,
const unsigned long &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator*(const xdouble & a,const xdouble & b);

Definition at line 271 of file xdouble.hpp.

xdouble operator* ( const xdouble a,
const long &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator*(const xdouble & a,const xdouble & b);

Definition at line 269 of file xdouble.hpp.

xdouble operator* ( const xdouble a,
const unsigned int &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator*(const xdouble & a,const xdouble & b);

Definition at line 267 of file xdouble.hpp.

xdouble operator* ( const xdouble a,
const int &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator*(const xdouble & a,const xdouble & b);

Definition at line 265 of file xdouble.hpp.

xdouble operator* ( const xdouble a,
const double &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator*(const xdouble & a,const xdouble & b);

Definition at line 263 of file xdouble.hpp.

xdouble operator* ( const unsigned long &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator*(const xdouble & a,const xdouble & b);

Definition at line 261 of file xdouble.hpp.

xdouble operator* ( const long &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator*(const xdouble & a,const xdouble & b);

Definition at line 259 of file xdouble.hpp.

xdouble operator* ( const unsigned int &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator*(const xdouble & a,const xdouble & b);

Definition at line 257 of file xdouble.hpp.

xdouble operator* ( const int &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator*(const xdouble & a,const xdouble & b);

Definition at line 255 of file xdouble.hpp.

xdouble operator* ( const double &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator*(const xdouble & a,const xdouble & b);

Definition at line 253 of file xdouble.hpp.

xdouble operator* ( const xdouble a,
const xdouble b 
) [friend]

Multiplication (times)

Parameters:
a first factor
b second factor
Returns:
a*b
xdouble operator+ ( const xdouble a,
const unsigned long &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator+(const xdouble & a,const xdouble & b);

Definition at line 209 of file xdouble.hpp.

xdouble operator+ ( const xdouble a,
const long &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator+(const xdouble & a,const xdouble & b);

Definition at line 207 of file xdouble.hpp.

xdouble operator+ ( const xdouble a,
const unsigned int &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator+(const xdouble & a,const xdouble & b);

Definition at line 205 of file xdouble.hpp.

xdouble operator+ ( const xdouble a,
const int &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator+(const xdouble & a,const xdouble & b);

Definition at line 203 of file xdouble.hpp.

xdouble operator+ ( const xdouble a,
const double &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator+(const xdouble & a,const xdouble & b);

Definition at line 201 of file xdouble.hpp.

xdouble operator+ ( const unsigned long &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator+(const xdouble & a,const xdouble & b);

Definition at line 199 of file xdouble.hpp.

xdouble operator+ ( const long &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator+(const xdouble & a,const xdouble & b);

Definition at line 197 of file xdouble.hpp.

xdouble operator+ ( const unsigned int &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator+(const xdouble & a,const xdouble & b);

Definition at line 195 of file xdouble.hpp.

xdouble operator+ ( const int &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator+(const xdouble & a,const xdouble & b);

Definition at line 193 of file xdouble.hpp.

xdouble operator+ ( const double &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator+(const xdouble & a,const xdouble & b);

Definition at line 191 of file xdouble.hpp.

xdouble operator+ ( const xdouble a,
const xdouble b 
) [friend]

Addition (sum)

Returns:
a + b
xdouble operator- ( const xdouble a,
const unsigned long &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator-(const xdouble & a,const xdouble & b);

Definition at line 239 of file xdouble.hpp.

xdouble operator- ( const xdouble a,
const long &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator-(const xdouble & a,const xdouble & b);

Definition at line 237 of file xdouble.hpp.

xdouble operator- ( const xdouble a,
const unsigned int &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator-(const xdouble & a,const xdouble & b);

Definition at line 235 of file xdouble.hpp.

xdouble operator- ( const xdouble a,
const int &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator-(const xdouble & a,const xdouble & b);

Definition at line 233 of file xdouble.hpp.

xdouble operator- ( const xdouble a,
const double &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator-(const xdouble & a,const xdouble & b);

Definition at line 231 of file xdouble.hpp.

xdouble operator- ( const unsigned long &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator-(const xdouble & a,const xdouble & b);

Definition at line 229 of file xdouble.hpp.

xdouble operator- ( const long &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator-(const xdouble & a,const xdouble & b);

Definition at line 227 of file xdouble.hpp.

xdouble operator- ( const unsigned int &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator-(const xdouble & a,const xdouble & b);

Definition at line 225 of file xdouble.hpp.

xdouble operator- ( const int &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator-(const xdouble & a,const xdouble & b);

Definition at line 223 of file xdouble.hpp.

xdouble operator- ( const double &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator-(const xdouble & a,const xdouble & b);

Definition at line 221 of file xdouble.hpp.

xdouble operator- ( const xdouble a,
const xdouble b 
) [friend]

Substruction (difference)

Returns:
a - b
xdouble operator- ( const xdouble a  )  [friend]

Unary minus (negation).

Returns:
-a
xdouble operator/ ( const xdouble a,
const unsigned long &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator/(const xdouble & a,const xdouble & b);

Definition at line 302 of file xdouble.hpp.

xdouble operator/ ( const xdouble a,
const long &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator/(const xdouble & a,const xdouble & b);

Definition at line 300 of file xdouble.hpp.

xdouble operator/ ( const xdouble a,
const unsigned int &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator/(const xdouble & a,const xdouble & b);

Definition at line 298 of file xdouble.hpp.

xdouble operator/ ( const xdouble a,
const int &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator/(const xdouble & a,const xdouble & b);

Definition at line 296 of file xdouble.hpp.

xdouble operator/ ( const xdouble a,
const double &  b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator/(const xdouble & a,const xdouble & b);

Definition at line 294 of file xdouble.hpp.

xdouble operator/ ( const unsigned long &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator/(const xdouble & a,const xdouble & b);

Definition at line 292 of file xdouble.hpp.

xdouble operator/ ( const long &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator/(const xdouble & a,const xdouble & b);

Definition at line 290 of file xdouble.hpp.

xdouble operator/ ( const unsigned int &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator/(const xdouble & a,const xdouble & b);

Definition at line 288 of file xdouble.hpp.

xdouble operator/ ( const int &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator/(const xdouble & a,const xdouble & b);

Definition at line 286 of file xdouble.hpp.

xdouble operator/ ( const double &  a,
const xdouble b 
) [friend]

Numerical datatype for very large / small numbers. double precission with large exponent based on mantisse and exponent. The code is based on the NTL library. All methods are implemented inline. Hence, no library is needed for xdouble. operator/(const xdouble & a,const xdouble & b);

Definition at line 284 of file xdouble.hpp.

xdouble operator/ ( const xdouble a,
const xdouble b 
) [friend]

Division (quotient)

Returns:
a*b
std::ostream& operator<< ( std::ostream &  ost,
const xdouble v 
) [friend]

Outstream operator for xdouble.

Note:
the value must not exceed the normal double

Definition at line 159 of file xdouble.hpp.

std::istream& operator>> ( std::istream &  ist,
xdouble v 
) [friend]

Instream operator for xdouble

Definition at line 163 of file xdouble.hpp.


The documentation for this class was generated from the following file: