Skip to content

polynomials over integers narrower than Int seem impossible or difficult to construct #277

Open
@nsajko

Description

@nsajko

With either TypedPolynomials or DynamicPolynomials:

julia> using TypedPolynomials

julia> @polyvar x
x

julia> coefficient_type(x + one(Bool))  # should be `Bool`
Int64

julia> coefficient_type(x + one(UInt16))  # should be `UInt16`
Int64

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