Warn if using floats of rounding errors
This commit is contained in:
parent
12e4a109cb
commit
fd8bf0ef60
@ -89,6 +89,7 @@ void parseArguments(int argc, char *argv[])
|
|||||||
else if (!strcmp(argv[i], "--float"))
|
else if (!strcmp(argv[i], "--float"))
|
||||||
{
|
{
|
||||||
useFloat = true;
|
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"))
|
else if (!strcmp(argv[i], "--help") || !strcmp(argv[i], "-h"))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user