X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.h;h=e35d95236c809bc13a09f438938cdf55d5c154f6;hp=adb9503369456988997f67118b027da00c20cfe3;hb=3917214a11bf76381ddc528e3fe51de9ec038d42;hpb=875df16552ba91c5eb4a7aaf3c48537b3d93b3fb;ds=sidebyside diff --git a/src/real.h b/src/real.h index adb9503..e35d952 100644 --- a/src/real.h +++ b/src/real.h @@ -178,7 +178,15 @@ namespace IPDF inline Real RealFromStr(const std::string & str) {return RealFromStr(str.c_str());} - inline void DebugRealInfo() {Debug("Compiled with REAL = %d => \"%s\" sizeof(Real) == %d bytes", REALTYPE, g_real_name[REALTYPE], sizeof(Real));} + inline void DebugRealInfo() + { + Debug("Compiled with REAL = %d => \"%s\" sizeof(Real) == %d bytes", REALTYPE, g_real_name[REALTYPE], sizeof(Real)); + #if REALTYPE == REAL_PARANOIDNUMBER + #ifdef PARANOID_SIZE_LIMIT + Debug("Size limit of %d is being enforced", PARANOID_SIZE_LIMIT); + #endif + #endif + } }