Skip to content

Enable QuadPrecision() operating on np.ndarray or np.number #198

@dlakaplan

Description

@dlakaplan

Right now to convert a scalar to a quad precision you can do:
QuadPrecision(x)

but for a np.ndarray or np.number you need to do:
x.astype(QuadPrecDType)

It would be nice if they had the same interface.

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