Skip to content

signed and unsigned don't accept integer types from this package as arguments #57

Description

@matthias314

In Julia Base, signed and unsigned accept integer types as arguments. It would be good if BitIntegers.jl could support this.

julia> signed(UInt8)
Int8

julia> signed(UInt256)
ERROR: MethodError: no method matching rem(::Type{UInt256}, ::Type{Int256})
The function `rem` exists, but no method is defined for this combination of argument types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions