Skip to content

test: Move (integer? (/ 1 3)) elsewhere #180

Description

@okuoku

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions