Skip to content

Modulo operator produces incorrect results for values less than the divisor #129

@anakrish

Description

@anakrish

Incorrect results are produced for a and b:

package example

a = 1 % 3
b = 2 % 3
c = 3 % 3
d = 4 % 3
e = 5 % 3
f = 6 % 3

results in {"example":{"a":0, "b":0, "c":0, "d":1, "e":2, "f":0}}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions