I think AKNSign can easily be replaced by Swift.FloatingPointSign (or even Bool). The only commonly used operation is xor which maps to !=. ANKSigned is neat, on the other hand, but I think it belongs in ANKSignedKit (unsurprisingly). What I still have to decide is whether ANKFixedWidthInteger needs init methods like exactly(sign:magnitude:) outside of ANKSignedKit.
I think
AKNSign
can easily be replaced bySwift.FloatingPointSign
(or evenBool
). The only commonly used operation isxor
which maps to!=
.ANKSigned
is neat, on the other hand, but I think it belongs inANKSignedKit
(unsurprisingly). What I still have to decide is whetherANKFixedWidthInteger
needs init methods likeexactly(sign:magnitude:)
outside ofANKSignedKit
.