We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Numberick integers have these methods and they kind of suck:
static func exactly (sign: FloatingPointSign, magnitude: Magnitude) -> Self? static func clamping(sign: FloatingPointSign, magnitude: Magnitude) -> Self
It would be better if NBKBinaryInteger required the following instead:
init?(sign: FloatingPointSign, magnitude: Magnitude)
IntXL
init(sign:magnitude:)
A) self.init(sign: sign, magnitude: magnitude) B) if let x = Self.exactly(sign: sign, magnitude: magnitude) { self = x } else { return nil }
The text was updated successfully, but these errors were encountered:
Rework sign and magnitude init (#50).
da80591
No branches or pull requests
Introduction
Numberick integers have these methods and they kind of suck:
Proposal
It would be better if NBKBinaryInteger required the following instead:
Motivation
IntXL
'sinit(sign:magnitude:)
(NBKFlexibleWidthKit #33)The text was updated successfully, but these errors were encountered: