fix: the internal number conversion inside Unit can throw an exception#3454
fix: the internal number conversion inside Unit can throw an exception#3454
Unit can throw an exception#3454Conversation
|
There are many reasons why it would be useful to have functions Any interest in implementing If you prefer I review this PR exactly as it is now, just let me know. |
|
Do you mean a function |
Precisely.
Well, in the very latest nanomath, |
|
Ok I've now refactored the helper function |
|
All right, good compromise. I will review now. |
|
OK, updated HISTORY and made the new tests cover the other types besides bignumber. Will merge as soon as the CI completes. |
This is a workaround for #3450.
Note that for the
.multiplymethod, it is possible to elimitate the temporarily introduced numbers1, but for.dividethat isn't possible, therefore I kept using the1values in both.