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
{{ message }}
Repository navigation
[BUG]: constexpr remainder computes fmod instead of IEEE remainder #136
I have searched for similar issues before starting this bug report
Describe the bug
The constexpr remainder path uses x - trunc(x/y)*y (truncated quotient, which is fmod), but IEEE remainder must round the quotient to nearest-even. Wrong whenever the fractional part of x/y exceeds 0.5.
Activity