-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-fixed-width init(repeating:)
#45
Comments
oscbyspro
changed the title
Non-fixed-width
Non-fixed-width Jul 31, 2023
init(repeating:)
?init(repeating:)
The asymmetry of (#34) is an argument in favor of adding a duplicate requirement to NBKSignedInteger. Hm. |
I suppose it's unclear what size this would give a manually resizable integer. Hm. |
An alternative is committing to fixed-width by moving |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think
init(repeating:)
should be moved to NBKBinaryInteger so it becomes available to IntXL, and UIntXL could reasonably trap oninit(repeating: true)
. I suppose that adding a duplicate requirement to NBKSignedInteger is an alternative, but I don't find that as elegant.The text was updated successfully, but these errors were encountered: