Skip to content

missing conversion to large bit integer types #16

Description

@matthias314
julia> using EmulatedBitIntegers, BitIntegers

julia> @emulate Int3

julia> Int256(Int3(1))
ERROR: MethodError: no method matching Int256(::Int3)
The type `Int256` exists, but no method is defined for this combination of argument types when trying to construct it.

It's of course debatable whether this should be added (via a weak dependency) to BitIntegers.jl or EmulatedBitIntegers.jl. Wherever it goes, it would be useful functionality.

Tested with Julia 1.12.7, BitIntegers v0.3.7 and EmulatedBitIntegers v0.4.2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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