Warn if using floats of rounding errors

This commit is contained in:
Tom Deakin 2015-07-31 16:47:47 +01:00
parent 12e4a109cb
commit fd8bf0ef60

View File

@ -89,6 +89,7 @@ void parseArguments(int argc, char *argv[])
else if (!strcmp(argv[i], "--float"))
{
useFloat = true;
std::cout << "Warning: If number of iterations set >= 8, expect rounding errors with single precision" << std::endl;
}
else if (!strcmp(argv[i], "--help") || !strcmp(argv[i], "-h"))
{