> The number overflows and the date will jump back 278 billion years before the Big Bang? Needles to say, this needs to be fixed. Luckily, we have 33 life times of our Sun to solve this problem but we could propose some solutions even today.
Based on this, it has to be a joke, or at least a tongue-in-cheek exercise that is "solving" an imaginary problem.
hello,
truly, the code can use an optimization, that's why I presented it as an proposition or rather idea. E.g. the digits could be byte. However, the idea is no joke at all. Point was to offer complete software solution, dependable only on hardware.
But I am open to any feedback.
Re:Y292B Bug
by fluoridation on Sunday June 30, 2024 @03:16PM
(#40839401)
>the idea is no joke
It's not? But it's predicated on the idea that human life hundreds of billions of years from now will be more or less the same as it is now, to the extent that they'll even still be using the same APIs and OSs. It's difficult to believe someone would posit that as anything other than a joke.
I hear your point. We truly don't know what will future bring, even less the future of year 292 billion. But again, I am proposing the software complete solution - even without current use case.
It seems to implement BigInts as BCD where each decimal digit gets it's own int32, implements division, then suggests kernel upstreaming. All as a solution for arbitrary spans of time.