Open ayazhafiz opened 4 years ago
That’s fair. Okay, I’ll add our own.
If you want, I can do it. I was thinking of writing something similar to how gnu does it in c https://gmplib.org/manual/Internals#Internals
Okay, go for it!
От: Luke Bhan notifications@github.com Отправлено: Tuesday, June 16, 2020 8:39:52 AM Кому: luke-bhan/numlib numlib@noreply.github.com Копия: hafiz ayaz.hafiz.1@gmail.com; Author author@noreply.github.com Тема: Re: [luke-bhan/numlib] Arbitrary-precision integer (#12)
If you want, I can do it. I was thinking of writing something similar to how gnu does it in c https://gmplib.org/manual/Internals#Internals
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/luke-bhan/numlib/pull/12#issuecomment-644772450, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE6GL6TZQGX4XYDAI5BUOO3RW5Y2RANCNFSM4N5UXMDA.
BigInt
s don't heap allocate up to 1024 bits (which is a huge integer). Past that we allocate chunks of 1024 bits.Closes #10