Skip to content

Make the interval arithmetic sound #113

@Mikolaj

Description

@Mikolaj

Replace magic numbers like

if minb == -1000000000 && maxb == 1000000000

with proper infinities (e.g., a Maybe?). The number currently used in place of infinity is not large enough given how wide rank one tensors can get and not small enough that arithmetic operations don't risk wrapping around. Hat tip to @tomsmeding for getting offended by how hacky this is currently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions