oscbyspro / Ultimathnum

Binary arithmetic reimagined in Swift
Apache License 2.0
9 stars 1 forks source link

Miscellaneous 0.6.0 stuff #38

Closed oscbyspro closed 3 months ago

oscbyspro commented 3 months ago

I'll use this thread to document various minor changes.

oscbyspro commented 3 months ago

I'll deduplicate Shift\<T> since there's no need to differentiate between Shift\<T> and Shift\<T.Magnitude>. Shift\<T.Magnitude> is enough. Any effect this has on performance will go away once Shift is pointer-bit.

oscbyspro commented 3 months ago

The systems integer Shift/inverse() constraint will be lifted as a result of the « count » approach (#31) (#33).

oscbyspro commented 3 months ago

InfiniInt's bit counting stuff will be hoisted to [Mutable]DataInt as a result of the « count » approach (#31) (#33).