X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=9b33453d65559c8e8e80848f7423a0e032e5d60d;hp=d9f2a7f2baa0acedf2854af5f25419673ce79d8c;hb=c9ce50e17952b0feeec68758444a50302a0aafba;hpb=8f7f551758c01e8b6938beff54435950cd2d1ca3 diff --git a/src/main.cpp b/src/main.cpp index d9f2a7f..9b33453 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,7 +2,12 @@ #include // Because we can. int main(int argc, char ** argv) { - Debug("Compiled with REAL = %d => \"%s\"", REAL, g_real_name[REAL]); + #ifndef __STDC_IEC_559__ + Warn("__STDC_IEC_559__ not defined. IEEE 754 floating point not fully supported.\n"); + #endif + + + Debug("Compiled with REAL = %d => \"%s\" sizeof(Real) == %d bytes", REAL, g_real_name[REAL], sizeof(Real)); Document doc; srand(time(NULL));