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
hi @csarn,
Thank you for reporting the issue!
I think we missed that bit in the documentation, but these functions do not work with negative numbers.
We may need to document this limitation better.
Thanks for documenting this! I also worked around this issue by using fraction for the absolute values and adding a minus sign to the resulting string when applicable.
Using version 0.8.0, this testcase panics:
Panic:
thread 'tests::divide' panicked at 'internal error: entered unreachable code', C:.cargo\registry\src\github.com-1ecc6299db9ec823\fraction-0.8.0\src\division.rs:350:21
The text was updated successfully, but these errors were encountered: