Skip to content

Integer division? #57

@yav

Description

@yav

Is there a function to perform euclidian integer division (like div from SMTLIB) in Sally? I can't seem to find one.

It looks like the / operator works on integers, but only if the division is exact, and otherwise things get in an inconsistent state where anything can be proved. This can be quite confusing, and it would be nicer if it was a type error to use / on an integer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions