Move (integer? (/ 1 3)) test outside of inexact tests.
(For Yuni,) it is allowed to coerce the result to zero. This syntactic-ally matches Ruby's behaviour; because of their syntax.
$ irb
irb(main):001:0> 1/3
=> 0
In Yuni, it is recommended to use truncate/ etc for exact integer division.
Move
(integer? (/ 1 3))test outside of inexact tests.(For Yuni,) it is allowed to coerce the result to zero. This syntactic-ally matches Ruby's behaviour; because of their syntax.
In Yuni, it is recommended to use
truncate/etc for exact integer division.