非常非常长的整数 [英] very very very long integer

查看:113
本文介绍了非常非常长的整数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一些关于使用非常长整数数据类型的帮助

''c''我需要它来存储大数'的阶乘结果..


如果有人可以治愈它会很高兴..

解决方案

shanx __ = |; - 写道:

嗨我需要一些关于在''c'中使用非常长的整数数据类型的帮助..我需要它来存储大数'的因子的结果..

如果有人可以治愈它会很高兴..




因此C不能支持它。

但是你能做什么要做的就是实现一个长的

整数的链表,并相应地定义操作。

那会很有趣。


" shanx __ = |; - " < CH ********** @ yahoo.com>在消息中写道

news:42 ************************** @ posting.google.c om ...

我需要一些关于在''c'中使用非常长的整数数据类型的帮助..我需要它来存储大数'的阶乘结果..

如果有人可以治愈它会很高兴..



有人,还是什么?
http://www.google.com/search?q=bigint+C+library


已经实施了几个大整数库。

hth -Ivan

-
http://ivan.vecerina.com/contact/?subject=NG_POST < - 电子邮件联系表格


" Ivan Vecerina" < PL ***************** @ ivan.vecerina.com>在消息新闻中写道:< ck ********** @ newshispeed.ch> ...

" shanx __ = |; - " < CH ********** @ yahoo.com>在消息中写道
新闻:42 ************************** @ posting.google.c om ...

嗨我需要一些关于在''c'中使用非常长的整数数据类型的帮助..我需要它来存储大数'的因子的结果..


某人或某事?
http://www.google.com/search?q=bigint+C+library

几个''大整数''库已经实现。

hth -Ivan




i实际上需要使用数据类型来查找任意数字的阶乘n

这个ans可能就像999448849493945848385845868546854那样

需要那种整数数据类型....我知道我要建立这个我的

self 。 ya一个选项可以链接长整数列表。 thanx for

回复...


hi i need some help regarding use of very very long integer datatype
in ''c''.. i need it to store result of large number''s factorial..

if someone can healp it would be a delight..

解决方案

shanx__=|;- wrote:

hi i need some help regarding use of very very long integer datatype
in ''c''.. i need it to store result of large number''s factorial..

if someone can healp it would be a delight..



As such C cannot support it.
But what you could do is to implement a linked list of long
integers yourselves and define the operations accordingly.
That would be interesting.


"shanx__=|;-" <ch**********@yahoo.com> wrote in message
news:42**************************@posting.google.c om...

hi i need some help regarding use of very very long integer datatype
in ''c''.. i need it to store result of large number''s factorial..

if someone can healp it would be a delight..


Someone, or something ?
http://www.google.com/search?q=bigint+C+library

Several ''big integer'' libraries have already been implemented.
hth -Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- e-mail contact form


"Ivan Vecerina" <pl*****************@ivan.vecerina.com> wrote in message news:<ck**********@newshispeed.ch>...

"shanx__=|;-" <ch**********@yahoo.com> wrote in message
news:42**************************@posting.google.c om...

hi i need some help regarding use of very very long integer datatype
in ''c''.. i need it to store result of large number''s factorial..

if someone can healp it would be a delight..


Someone, or something ?
http://www.google.com/search?q=bigint+C+library

Several ''big integer'' libraries have already been implemented.
hth -Ivan



i actually need to use the datatype to find factorial of any number n
the ans may be anything like 999448849493945848385845868546854 so
need that sort of integer datatype.... i know ive to build this my
self. ya one option can be linked list of long integers. thanx for
replyin...


这篇关于非常非常长的整数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆