像bigint / GMP之类的东西? [英] Something like bigint / GMP?
问题描述
是否有一些小项目提供bigint,最好是作为C ++类,
或者只是一组结构/函数(C风格)?
像GMP这样的东西,它很棒,但我想把它放在一个小的
源文件中,尽可能小,不要有整个高级GMP库。
-
Rafa3''Raf256''Maj
Rafa3 Maj Raf256写道:
是否有一些小项目可以提供bigint,最好是作为C ++类,
或者只是作为一组struct /功能(C风格)?
像GMP这样的东西很棒,但我想把它放在一个小的源文件中,尽可能小,不要整个高级GMP库。
你想要一个C ++库还是一个C库?
另外,请不要分别发布给很多团体。
如果你需要这样做,请把它当你发帖时,所有人都在To:
字段(或CC)上。这样,来自所有新闻组的每个人都可以看到其他人的回复。
查看我在新闻中的回复:comp.lang.c。
-
Thomas Matthews
C ++新闻组欢迎辞:
http://www.slack.net/~shiva/welcome。 txt
C ++常见问题: http: //www.parashift.com/c++-faq-lite
C常见问题: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp .lang.learn.c-c ++ faq:
http:// www .comeaucomputing.com / learn / faq /
其他网站:
http://www.josuttis.com - C ++ STL Library book
http://www.sgi.com/tech/stl - 标准模板库
" Rafa3 Maj Raf256" < SP ** @ raf256.com>在消息新闻中写道:1614105.DxINQP7ihL@raf256com ...
是否有一些小项目提供bigint,最好是作为C ++类,
或者只是设置结构/功能(C风格)?
像GMP这样的东西,它很重要,但是我想把它放在一个小的
源文件中,尽可能小,不是拥有整个高级GMP库。
[snip]
查看C ++ BigInt类
https://sourceforge.net/projects/cpp-bigint/
-
Alex Vinokur
电子邮件:alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
Alex Vinokur写道:
查看C ++ BigInt类
https://sourceforge.net/projects/cpp-bigin
Thanx,它看起来不错,你知道也许是什么限制 - 我可以使用
1e32000整数吗?
-
Rafa3''Raf256''Maj
Hi, is there some small project that proviedes bigint, best as a C++ class,
or just as set of struct/functions (C-style)?
Something like GMP and it''s bigint, but I want to have it just in one small
source file as small as needed, not to have entire advanced GMP library.
--
Rafa3 ''Raf256'' Maj
Rafa3 Maj Raf256 wrote:
Hi, is there some small project that proviedes bigint, best as a C++ class,
or just as set of struct/functions (C-style)?
Something like GMP and it''s bigint, but I want to have it just in one small
source file as small as needed, not to have entire advanced GMP library.
Do you want a C++ library or a C library?
Also, please don''t post separately to many groups.
If you need to do that, put them all on the "To:"
field (or CC) when you post. That way, everybody
from all the newsgroups can see everybody else''s
replies.
See my reply in news:comp.lang.c.
--
Thomas Matthews
C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library
"Rafa3 Maj Raf256" <sp**@raf256.com> wrote in message news:1614105.DxINQP7ihL@raf256com...
Hi, is there some small project that proviedes bigint, best as a C++ class,
or just as set of struct/functions (C-style)?
Something like GMP and it''s bigint, but I want to have it just in one small
source file as small as needed, not to have entire advanced GMP library.
[snip]
Look at C++ BigInt class
https://sourceforge.net/projects/cpp-bigint/
--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
Alex Vinokur wrote:
Look at C++ BigInt class
https://sourceforge.net/projects/cpp-bigin
Thanx, it looks good, do You know perhaps what is the limit - can I use
1e32000 integers also?
--
Rafa3 ''Raf256'' Maj
这篇关于像bigint / GMP之类的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!