Add more tests to divRound with negative numbers#174
Conversation
|
These tests actually fail, because contrary to the name, the code seems to be rounding to ceiling. Is it supposed to be like that? This was my first step at fixing #79. Modified |
|
@axic ceiling? or towards |
|
Towards zero for negatives. |
|
@axic what is left to do here? Do you have time? |
|
I don't particularly have a lot of time, but I guess this PR could be changed to add tests for the current behaviour and update documentation to reflect that. A separate PR could change behaviour as that is breaking - well, it could be just a bug too, if the document is to be the canon. Any opinions @indutny ? |
No description provided.