template struct Eigen::NumTraits<gpr::extended::DoubleDouble>

#include <gpr/ml/gp/ExtendedReal.h>
 
template <>
struct NumTraits<gpr::extended::DoubleDouble>: public GenericNumTraits< gpr::extended::DoubleDouble > {
    // typedefs
 
    typedef gpr::extended::DoubleDouble Real;
    typedef gpr::extended::DoubleDouble NonInteger;
    typedef gpr::extended::DoubleDouble Literal;
    typedef gpr::extended::DoubleDouble Nested;
 
    // enums
 
    enum {
        IsComplex             = 0,
        IsInteger             = 0,
        IsSigned              = 1,
        RequireInitialization = 1,
        ReadCost              = 2,
        AddCost               = 20,
        MulCost               = 8,
    };
 
    // methods
 
    static Real epsilon();
    static Real dummy_precision();
    static int digits10();
    static int digits();
    static Real highest();
    static Real lowest();
};