Oscar Byström Ericsson

Results 16 issues of Oscar Byström Ericsson

Does anybody know the requirements for working in the US? I’ve had no luck in Sweden; no offers, no interviews, nothing 🫤

meta

This contribution adds [U]Int128 to tests I wrote before Swift introduced [U]Int128. I also added some assertions, like round-tripping in the case of `Swift.FixedWidthInteger`. Note that I don't have macOS...

I'm open to work.

help

I'm working on a Big[U]Int™ module. That's it. That's the ~~tweet~~ GitHub post.

addition

Given that you only need primes up to the square root of `x` to sieve `x`, there are faster ways of sieving a range than sieving every prime from zero...

addition
maybe

I'm working on some prime stuff, and I need a `squareRoot(of:)` method that doesn't rely on floating points. So, I use Newton's method. It's relatively fast and super simple. In...

addition
maybe

I think this is a low-priority issue, but still (#58): > The difference appears to be between iOS 15 and iOS 16.4: ``` // Swift 5.8, iPhone 13 Pro, iOS...

brrr
availability
time

I'll need a flexible-width integer protocol, in order for `NBKSigned` to function as a "BigInt" model (#33) (#81). `NBKSigned` is not a binary integer, so it won't conform to it,...

addition
maybe

NBKUnsignedInteger already requires recoverable unsigned subtraction (#34): ```swift func subtractingReportingOverflow(_ other: Self) -> PVO mutating func subtractReportingOverflow(_ other: Self) -> Bool @_disfavoredOverload func subtractingReportingOverflow(_ other: Digit) -> PVO @_disfavoredOverload mutating...

addition
maybe

The final thing I want to investigate before committing to a flexible-width solution is whether I can efficiently model the signed part as a `Signed` wrapper. I know fixed-width is...

addition
maybe