Open repomies opened 7 years ago
private func offsetSign<T : UnsignedInteger>(_ value: T) -> T { return value &+ ~(~0 / 2) // 0b10000...000 }
Binary operator '&+' cannot be applied to operands of type 'T' and 'Int' 🤢
Ha! Should be easy with the new integer protocols in Swift. Let me see.
And sorry for the break!
This stuff haunting me again when I should make some minor text fixes :)
See #6.
Binary operator '&+' cannot be applied to operands of type 'T' and 'Int' 🤢