Here’s a nice writeup of an attempt to work through the advent of code challenges on a BBC Micro
via stardot: Big number arithmetic
Here’s a nice writeup of an attempt to work through the advent of code challenges on a BBC Micro
via stardot: Big number arithmetic
I gave is a shot, but I think I got stuck on day 6. Up until then, I was able to do everything in GWBASIC. But then I hit the limitations of BASIC’s number range.
Yes, for a lot of these sorts of things you may need to roll up your sleeves and write at least a double integer set of routines, and possibly a lot more. But if you know how to do long multiplication by hand, you already know what you need to do. (You might come unstuck with division…)