You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is how I discovered this problem.
While implementing complex Bessel functions, I encountered a similar problem with the division of the micro-norm.
I verified that boost does not have a similar flaw and reported it because it seems to have the same mistake in quaternion and octonion.
Overflow or underflow occurs when the divisor is a giant or minute number in quaternion and octanion division.
The following code, which is expected to yield 1, unexpectedly yields NaN.
I consider exponential normalization to be necessary in the following code.
denominator
underflows or overflows whenrhs
is a minute or huge number.Quaternion:
math/include/boost/math/quaternion.hpp
Lines 398 to 420 in c3afa49
Octanion:
math/include/boost/math/octonion.hpp
Lines 561 to 654 in c3afa49
The text was updated successfully, but these errors were encountered: