
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
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