nr_FP.inl File Reference
#include "../defs.h"
This graph shows which files directly or indirectly include this file:

Data Structures

class  FP_NR< F >
 

Macros

#define FPLLL_NR_FP_H
 

Functions

template<class F >
FP_NR< F > operator+ (const FP_NR< F > &a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > && operator+ (FP_NR< F > &&a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > operator+ (const FP_NR< F > &a, double b)
 
template<class F >
FP_NR< F > operator+ (double a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > operator+ (const FP_NR< F > &a, long b)
 
template<class F >
FP_NR< F > operator+ (long a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > operator- (const FP_NR< F > &a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > operator- (const FP_NR< F > &a, double b)
 
template<class F >
FP_NR< F > operator- (double a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > operator- (const FP_NR< F > &a, long b)
 
template<class F >
FP_NR< F > operator- (long a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > operator* (const FP_NR< F > &a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > && operator* (FP_NR< F > &&a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > operator* (const FP_NR< F > &a, double b)
 
template<class F >
FP_NR< F > operator* (const FP_NR< F > &a, long b)
 
template<class F >
FP_NR< F > operator* (double a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > && operator* (FP_NR< F > &&a, double b)
 
template<class F >
FP_NR< F > operator/ (const FP_NR< F > &a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > operator/ (const FP_NR< F > &a, const double b)
 
template<class F >
FP_NR< F > operator/ (const double a, const FP_NR< F > &b)
 
template<class F >
FP_NR< F > sqrt (const FP_NR< F > &a)
 
template<class F >
FP_NR< F > && sqrt (FP_NR< F > &&a)
 
template<class F >
FP_NR< F > abs (const FP_NR< F > &a)
 
template<class F >
FP_NR< F > && abs (FP_NR< F > &&a)
 
template<class F >
FP_NR< F > floor (const FP_NR< F > &a)
 
template<class F >
FP_NR< F > && floor (FP_NR< F > &&a)
 
template<class F >
FP_NR< F > log (const FP_NR< F > &a)
 
template<class F >
FP_NR< F > && log (FP_NR< F > &&a)
 
template<class F >
FP_NR< F > exp (const FP_NR< F > &a)
 
template<class F >
FP_NR< F > && exp (FP_NR< F > &&a)
 
template<class F >
FP_NR< F > pow_si (const FP_NR< F > &a, long b)
 
template<class F >
FP_NR< F > && pow_si (FP_NR< F > &&a, long b)
 
template<class F >
FP_NR< F > root (const FP_NR< F > &a, unsigned int b)
 
template<class F >
FP_NR< F > && root (FP_NR< F > &&a, unsigned int b)
 
template<class T >
ostream & operator<< (ostream &os, const FP_NR< T > &x)
 
template<>
ostream & operator<< (ostream &os, const FP_NR< dpe_t > &x)
 
template<>
ostream & operator<< (ostream &os, const FP_NR< mpfr_t > &x)
 

Macro Definition Documentation

◆ FPLLL_NR_FP_H

#define FPLLL_NR_FP_H

Function Documentation

◆ abs() [1/2]

template<class F >
FP_NR< F > abs ( const FP_NR< F > &  a)
inline

◆ abs() [2/2]

template<class F >
FP_NR< F > && abs ( FP_NR< F > &&  a)
inline

◆ exp() [1/2]

template<class F >
FP_NR< F > exp ( const FP_NR< F > &  a)
inline

◆ exp() [2/2]

template<class F >
FP_NR< F > && exp ( FP_NR< F > &&  a)
inline

◆ floor() [1/2]

template<class F >
FP_NR< F > floor ( const FP_NR< F > &  a)
inline

◆ floor() [2/2]

template<class F >
FP_NR< F > && floor ( FP_NR< F > &&  a)
inline

◆ log() [1/2]

template<class F >
FP_NR< F > log ( const FP_NR< F > &  a)
inline

◆ log() [2/2]

template<class F >
FP_NR< F > && log ( FP_NR< F > &&  a)
inline

◆ operator*() [1/6]

template<class F >
FP_NR< F > operator* ( const FP_NR< F > &  a,
const FP_NR< F > &  b 
)
inline

◆ operator*() [2/6]

template<class F >
FP_NR< F > operator* ( const FP_NR< F > &  a,
double  b 
)
inline

◆ operator*() [3/6]

template<class F >
FP_NR< F > operator* ( const FP_NR< F > &  a,
long  b 
)
inline

◆ operator*() [4/6]

template<class F >
FP_NR< F > operator* ( double  a,
const FP_NR< F > &  b 
)
inline

◆ operator*() [5/6]

template<class F >
FP_NR< F > && operator* ( FP_NR< F > &&  a,
const FP_NR< F > &  b 
)
inline

◆ operator*() [6/6]

template<class F >
FP_NR< F > && operator* ( FP_NR< F > &&  a,
double  b 
)
inline

◆ operator+() [1/6]

template<class F >
FP_NR< F > operator+ ( const FP_NR< F > &  a,
const FP_NR< F > &  b 
)
inline

◆ operator+() [2/6]

template<class F >
FP_NR< F > operator+ ( const FP_NR< F > &  a,
double  b 
)
inline

◆ operator+() [3/6]

template<class F >
FP_NR< F > operator+ ( const FP_NR< F > &  a,
long  b 
)
inline

◆ operator+() [4/6]

template<class F >
FP_NR< F > operator+ ( double  a,
const FP_NR< F > &  b 
)
inline

◆ operator+() [5/6]

template<class F >
FP_NR< F > && operator+ ( FP_NR< F > &&  a,
const FP_NR< F > &  b 
)
inline

◆ operator+() [6/6]

template<class F >
FP_NR< F > operator+ ( long  a,
const FP_NR< F > &  b 
)
inline

◆ operator-() [1/5]

template<class F >
FP_NR< F > operator- ( const FP_NR< F > &  a,
const FP_NR< F > &  b 
)
inline

◆ operator-() [2/5]

template<class F >
FP_NR< F > operator- ( const FP_NR< F > &  a,
double  b 
)
inline

◆ operator-() [3/5]

template<class F >
FP_NR< F > operator- ( const FP_NR< F > &  a,
long  b 
)
inline

◆ operator-() [4/5]

template<class F >
FP_NR< F > operator- ( double  a,
const FP_NR< F > &  b 
)
inline

◆ operator-() [5/5]

template<class F >
FP_NR< F > operator- ( long  a,
const FP_NR< F > &  b 
)
inline

◆ operator/() [1/3]

template<class F >
FP_NR< F > operator/ ( const double  a,
const FP_NR< F > &  b 
)
inline

◆ operator/() [2/3]

template<class F >
FP_NR< F > operator/ ( const FP_NR< F > &  a,
const double  b 
)
inline

◆ operator/() [3/3]

template<class F >
FP_NR< F > operator/ ( const FP_NR< F > &  a,
const FP_NR< F > &  b 
)
inline

◆ operator<<() [1/3]

template<>
ostream & operator<< ( ostream &  os,
const FP_NR< dpe_t > &  x 
)

◆ operator<<() [2/3]

template<>
ostream & operator<< ( ostream &  os,
const FP_NR< mpfr_t > &  x 
)

◆ operator<<() [3/3]

template<class T >
ostream & operator<< ( ostream &  os,
const FP_NR< T > &  x 
)

overloading stream operators Prints x on stream os.

◆ pow_si() [1/2]

template<class F >
FP_NR< F > pow_si ( const FP_NR< F > &  a,
long  b 
)
inline

◆ pow_si() [2/2]

template<class F >
FP_NR< F > && pow_si ( FP_NR< F > &&  a,
long  b 
)
inline

◆ root() [1/2]

template<class F >
FP_NR< F > root ( const FP_NR< F > &  a,
unsigned int  b 
)
inline

◆ root() [2/2]

template<class F >
FP_NR< F > && root ( FP_NR< F > &&  a,
unsigned int  b 
)
inline

◆ sqrt() [1/2]

template<class F >
FP_NR< F > sqrt ( const FP_NR< F > &  a)
inline

◆ sqrt() [2/2]

template<class F >
FP_NR< F > && sqrt ( FP_NR< F > &&  a)
inline