X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.h;h=8021ada7c66d418e91f77a6313af4aa8c141ff35;hp=d8033fc16cbf2896d8021568a87544c0bc3c760b;hb=4166b2c124b0bc652e9f8e5245488cdd2b86ebf0;hpb=9e1a33043e1242c4605f2a3a48bd948fc760d948 diff --git a/src/real.h b/src/real.h index d8033fc..8021ada 100644 --- a/src/real.h +++ b/src/real.h @@ -40,11 +40,10 @@ namespace IPDF #elif REAL == REAL_LONG_DOUBLE typedef long double Real; #elif REAL == REAL_VFPU - typedef VFPU::Float Real; + typedef VFPU::VFloat Real; inline float Float(const Real & r) {return r.m_value;} inline double Double(const Real & r) {return r.m_value;} #elif REAL == REAL_RATIONAL - typedef Rational Real; inline float Float(const Real & r) {return (float)r.ToDouble();} inline double Double(const Real & r) {return r.ToDouble();}