Oscar Byström Ericsson

Results 75 comments of Oscar Byström Ericsson

I decided to go with sign-magnitude and embrace negative zero :hugs:

I'm thinking of adding a NBKResizableWidthKit (#46), even if it's only to house some kind of resizable-but-never-empty collection of words. I don't really want juggle two sets of invariants in-line...

Untangling NBKResizableWidthKit (#46) might take a while. Instead of a fixed-width-but-resizable storage model, I might opt for freestanding generic functions. That way the logic can be reused on buffer pointers,...

`UIntXL` is close to done, but `Signed` still needs some work. Maybe I should split `NBKSignedKit` (#81) into a different feature branch? I have developed them side-by-side because the latter...

I have put a lot of effort into separating my models and algorithms. So NBKFlexibleWidthKit mostly handles branching, resizing and normalization logic, while NBKCoreKit takes care of the calculations. I...

Given that auto-normalization is the main feature of these integers, `NBKNormalWidthKit` is perhaps a more apt name.

Hm. I wonder if I should make it `UIntXL` generic over its element type...

As a side note, I can get a decent initial approximation as I've already added `leadingZeroBitCount` to NBKBinaryInteger.

Although, in this particular case it might not matter because the assignment is followed by division :man_shrugging:

Hm. I'll skip this one for now. Inspiration is fleeting when you don't need it.