Change float representations to be more IEEE-ish
[ipdf/code.git] / src / real.h
index f052696..00eff9c 100644 (file)
@@ -39,7 +39,7 @@ namespace IPDF
        // Mostly in the testers.
        inline float Float(float f) {return f;}
        inline double Float(double f) {return f;}
-       inline long double Float(long double f) {return f;}
+       inline double Float(long double f) {return double(f);}
 }
 
 #endif //_REAL_H

UCC git Repository :: git.ucc.asn.au