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.
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.