infinite numbers
so I’m not actually saying infinity but can I calculate (let’s say square root of 2) to a set number of digits (like persion in the millions of digits) the reason is redacted
any ideas?
so I’m not actually saying infinity but can I calculate (let’s say square root of 2) to a set number of digits (like persion in the millions of digits) the reason is redacted
any ideas?
First, you'll want to store the number as a variable-length data type like a string or BigInt so you can store that many digits. Once you have long number handling, there's probably an algorithm you can use to generate square root digits beyond the usual float precision.
So how would i make a “bigInt”