`truncate-quotient` should return exact number where possible
okuoku opened this issue · 1 comments
okuoku commented
Tested: 1d775c5
cyclone> (truncate-quotient 5 2)
2.0
Per R7RS, truncate-quotient
should return exact result if input was exact integers. R7RS provides example as following:
(truncate/ -5 -2) => 2 -1
(truncate/ -5.0 -2) => 2.0 -1.0
justinethier commented
This has been fixed on master
branch. Thanks for the report!