Repository navigation
[GNATS 25317] Spurious diagnostic when fmod with float used in constexpr. #131
jhsedg
started this conversation in
Issue Triage - General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Customer bug ID
ccmath_fmod_test.C, /ccmath_remainder_test.C
Description
"../libs/math/test/ccmath_fmod_test.cpp", line 42: error #2784: static assertion failed
static_assert(boost::math::ccmath::fmod(T(3.0/2), T(1.0) == T(3.0/2)));
^
detected during instantiation of "void test() [with T=float]" at line 61
Error limit reached.
1 error detected in the compilation of "../libs/math/test/ccmath_fmod_test.cpp".
Compilation terminated.
return is 4
Notes
2024-12-17, ellen.
Boost 1.87.0 had a major update to the Math library and this test no longer exists.
All reactions