Borderbasix

Namespaces | Macros | Typedefs | Functions | Variables
Scl_mpfr.hpp File Reference
#include <iostream>
#include <iomanip>
#include <string>
#include <borderbasix/mdebug.hpp>
#include "Scl.hpp"
#include <mpfr.h>

Go to the source code of this file.

Namespaces

 std
 

Macros

#define _MPFR_
 

Typedefs

typedef mpfr_t MPFR
 

Functions

Scl< MPFRoperator+ (const Scl< MPFR > &a1, const Scl< MPFR > &a2)
 
Scl< MPFRoperator- (const Scl< MPFR > &a1, const Scl< MPFR > &a2)
 
Scl< MPFRoperator* (const Scl< MPFR > &a1, const Scl< MPFR > &a2)
 
Scl< MPFRoperator* (const Scl< MPFR > &a1, double a2)
 
Scl< MPFRoperator/ (const Scl< MPFR > &a1, const Scl< MPFR > &a2)
 
Scl< MPFRoperator/ (double a2, const Scl< MPFR > &a1)
 
Scl< MPFRoperator/ (const Scl< MPFR > &a1, double a2)
 
Scl< MPFRoperator/ (int a2, const Scl< MPFR > &a1)
 
Scl< MPFRoperator/ (const Scl< MPFR > &a1, int a2)
 
Scl< MPFRoperator/ (long int a2, const Scl< MPFR > &a1)
 
void convert (Scl< MPFR > &n, char *s)
 
std::ostream & operator<< (std::ostream &os, const Scl< MPFR > &x)
 
std::istream & operator>> (std::istream &is, Scl< MPFR > &b)
 
bool has_positive_sign (const Scl< MPFR > &b)
 
void Precision (unsigned long l)
 
void Precision (Scl< MPFR > &b, unsigned long l)
 
Scl< MPFRlog (const Scl< MPFR > &b)
 
int sign (const Scl< MPFR > &b)
 
Scl< MPFRpow (const Scl< MPFR > &b1, const Scl< MPFR > &b2)
 
int compare (const Scl< MPFR > &b1, const Scl< MPFR > &b2)
 
int compare (const Scl< MPFR > &b, unsigned long ul)
 
int compare (const Scl< MPFR > &b, long sl)
 
bool operator> (double ul, const Scl< MPFR > &rhs)
 
bool operator< (double ul, const Scl< MPFR > &rhs)
 
bool operator< (int ul, const Scl< MPFR > &rhs)
 
bool operator> (int ul, const Scl< MPFR > &rhs)
 
Scl< MPFRfmax (const Scl< MPFR > &a, const Scl< MPFR > &b)
 
Scl< MPFRlogb (const Scl< MPFR > &x)
 
int isinf (const Scl< MPFR > &x)
 
int isfinite (const Scl< MPFR > &x)
 
int isnan (const Scl< MPFR > &x)
 
Scl< MPFRfabs (const Scl< MPFR > &x)
 
Scl< MPFRcopysign (const Scl< MPFR > &a, const Scl< MPFR > &b)
 
Scl< MPFRstd::abs (const Scl< MPFR > &x)
 

Variables

unsigned long MPFR_PRECISION
 

Macro Definition Documentation

#define _MPFR_

Typedef Documentation

typedef mpfr_t MPFR

Function Documentation

int compare ( const Scl< MPFR > &  b1,
const Scl< MPFR > &  b2 
)
inline
int compare ( const Scl< MPFR > &  b,
unsigned long  ul 
)
inline
int compare ( const Scl< MPFR > &  b,
long  sl 
)
inline
void convert ( Scl< MPFR > &  n,
char *  s 
)
inline
Scl<MPFR> copysign ( const Scl< MPFR > &  a,
const Scl< MPFR > &  b 
)
Scl<MPFR> fabs ( const Scl< MPFR > &  x)
Scl<MPFR> fmax ( const Scl< MPFR > &  a,
const Scl< MPFR > &  b 
)
bool has_positive_sign ( const Scl< MPFR > &  b)
int isfinite ( const Scl< MPFR > &  x)
int isinf ( const Scl< MPFR > &  x)
int isnan ( const Scl< MPFR > &  x)
Scl<MPFR> log ( const Scl< MPFR > &  b)
inline
Scl<MPFR> logb ( const Scl< MPFR > &  x)
Scl<MPFR> operator* ( const Scl< MPFR > &  a1,
const Scl< MPFR > &  a2 
)
Scl<MPFR> operator* ( const Scl< MPFR > &  a1,
double  a2 
)
Scl<MPFR> operator+ ( const Scl< MPFR > &  a1,
const Scl< MPFR > &  a2 
)
Scl<MPFR> operator- ( const Scl< MPFR > &  a1,
const Scl< MPFR > &  a2 
)
Scl<MPFR> operator/ ( const Scl< MPFR > &  a1,
const Scl< MPFR > &  a2 
)
Scl<MPFR> operator/ ( double  a2,
const Scl< MPFR > &  a1 
)
Scl<MPFR> operator/ ( const Scl< MPFR > &  a1,
double  a2 
)
Scl<MPFR> operator/ ( int  a2,
const Scl< MPFR > &  a1 
)
Scl<MPFR> operator/ ( const Scl< MPFR > &  a1,
int  a2 
)
Scl<MPFR> operator/ ( long int  a2,
const Scl< MPFR > &  a1 
)
bool operator< ( double  ul,
const Scl< MPFR > &  rhs 
)
bool operator< ( int  ul,
const Scl< MPFR > &  rhs 
)
std::ostream& operator<< ( std::ostream &  os,
const Scl< MPFR > &  x 
)
bool operator> ( double  ul,
const Scl< MPFR > &  rhs 
)
bool operator> ( int  ul,
const Scl< MPFR > &  rhs 
)
std::istream& operator>> ( std::istream &  is,
Scl< MPFR > &  b 
)
Scl<MPFR> pow ( const Scl< MPFR > &  b1,
const Scl< MPFR > &  b2 
)
inline
void Precision ( unsigned long  l)

Set the default precision for the MPZ numbers. This is not the precision of the results of operations on these numbers, because of error propagations.

void Precision ( Scl< MPFR > &  b,
unsigned long  l 
)

Set the precision for MPZ. This precision is not the precision of the result of operations on this number.

int sign ( const Scl< MPFR > &  b)
inline

Variable Documentation

unsigned long MPFR_PRECISION
Home  |  Download & InstallContributions