Numberick
Numberick copied to clipboard
An arithmagick overhaul in Swift
I need lots of free-function-y stuff to get things done without tying myself to any particular implementation. But free-function-y stuff is messy. The function signatures get way too long or...
I tried to set up a GitHub workflow with tests on Linux (#60) (#63), but I discovered that the Swift 5.7 compiler is ~~broken~~. In particular, it cannot parse the...
I think `init(repeating:)` should be moved to NBKBinaryInteger so it becomes available to IntXL, and UIntXL could reasonably trap on `init(repeating: true)`. I suppose that adding a duplicate requirement to...
I provide three `quotientAndRemainder(dividingBy:)` defaults in NBKBinaryInteger.swift, which is one more than you'd expect. That's because the core integers do not compile without the `where Self == Digit` version. I...