We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example:
munit_assert_double_equal(1e100, 1.0000000001e100, 1); // fails
For the same reasons that the next test passes the test above should pass too.
munit_assert_double_equal(1, 1.0000000001, 1);
The better ways of comparing floating point numbers are described here: https://stackoverflow.com/a/253874/4626533
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example:
For the same reasons that the next test passes the test above should pass too.
The better ways of comparing floating point numbers are described here: https://stackoverflow.com/a/253874/4626533
The text was updated successfully, but these errors were encountered: