Skip to content

need to ensure operations involving the constants defined here keep constant folding #37

Closed
@nsajko

Description

@nsajko

The PR JuliaLang/julia#55886 stripped generic AbstractIrrational operations of their effect annotations. As a bugfix, it will be part of future v1.10, v1.11 and v1.12 Julia releases. This means that operations like Rational{Int}(twoπ) won't constant fold.

There are several possible fixes for this issue, including defining effect annotations in this package, or, in some cases, hardcoding the return values.

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