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
When input is 1.0 to a negative even float type number, gcem::log10 return a wrong negative odd number.
Eg: gcem::log10(0.01) = -1.0f, should be -2.0f
Tested with 1e-2f to 1e-26f, only the 1e-22f is right. In double and long double type, this also happens to 1e-12 and 1e-14.
Envrioment: MSVC 14.41.33901, C++20 std GCE-Math version 1.18.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When input is 1.0 to a negative even float type number, gcem::log10 return a wrong negative odd number.
Eg: gcem::log10(0.01) = -1.0f, should be -2.0f
Tested with 1e-2f to 1e-26f, only the 1e-22f is right.
In double and long double type, this also happens to 1e-12 and 1e-14.
Envrioment: MSVC 14.41.33901, C++20 std
GCE-Math version 1.18.0
The text was updated successfully, but these errors were encountered: