Skip to content

Automatically promote to BigInt when about to overflow #110

Open
@shashi

Description

@shashi

It would be nice if DP automatically promoted coefficients to big nums when they are too big to fit in Int.

See

julia> @polyvar x y
(x, y)

julia> p = (x+y)^100

is wrong, but (x+y)^50 is correct.

from JuliaSymbolics/Symbolics.jl#538

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