X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.h;h=00eff9c869300b1ea5d72b8d7cbf9d1f1d5ac9d9;hp=f052696aeda251d5ecc29c39ee9e4ad466fa9450;hb=141418468db6f77c6fd6ba625b5d3278f4b57da5;hpb=805dd6babc18f4e16c297f0c20487418d5aa6bd8;ds=inline diff --git a/src/real.h b/src/real.h index f052696..00eff9c 100644 --- a/src/real.h +++ b/src/real.h @@ -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