Skip to content

Devise a more elegant formula for handling negative numbers #1

@semibran

Description

@semibran

Currently using (n % m + m) % m which looks hideously overcomplicated. sure it passes tests, but there's gotta be a better way of doing it?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions