oILAB
|
#include <BestRationalApproximation.h>
Public Types | |
typedef long long int | LongIntType |
Public Member Functions | |
BestRationalApproximation (const double &f, const LongIntType &md) | |
Data Fields | |
const LongIntType & | num |
const LongIntType & | den |
Static Private Member Functions | |
static std::pair< LongIntType, LongIntType > | rat_approx (double f, LongIntType md) |
Private Attributes | |
const std::pair< LongIntType, LongIntType > | intPair |
Definition at line 17 of file BestRationalApproximation.h.
typedef long long int gbLAB::BestRationalApproximation::LongIntType |
Definition at line 21 of file BestRationalApproximation.h.
|
inline |
Definition at line 94 of file BestRationalApproximation.h.
|
inlinestaticprivate |
Definition at line 24 of file BestRationalApproximation.h.
const LongIntType& gbLAB::BestRationalApproximation::den |
Definition at line 92 of file BestRationalApproximation.h.
|
private |
Definition at line 87 of file BestRationalApproximation.h.
const LongIntType& gbLAB::BestRationalApproximation::num |
Definition at line 91 of file BestRationalApproximation.h.