如何编写 bigint 库/libgmp 如何工作?

发布于 2024-08-20 18:04:57 字数 149 浏览 7 评论 0原文

我知道各种平台上有许多用于 C 的 BigInt 库以及如何使用它们,但我很好奇:它们是如何工作的?我将如何构建自己的库(我不会尝试,没有必要重新发明轮子,但我对它如何发生感兴趣)?任何人都可以向我指出可以解释程序/基础知识的教程等吗?

谢谢,

九指。

I'm aware of a number of BigInt libraries for C on various platforms and how to use them but I'm intrigued: how do they work? How would I go about building my own library (I'm not going to try, no point re-inventing the wheel but I'm interested in how it might happen)? Can anyone point me towards tutorials etc that might explain the procedure / the basics?

Thanks,

Ninefingers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

过去的过去 2024-08-27 18:04:57

我发现 是一个不错的概述。但是,如果您想要更深入的内容(并且几乎保证 100% 正确),您可能需要阅读计算机编程的艺术,第 2 卷的相关部分。

I found that this wasn't a bad overview. However, if you want something more in depth (and almost guaranteed to be 100% correct), you probably want to read the relevant parts of The Art of Computer Programming, Volume 2.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文