GMP图书馆和POWER [英] GMP Library and POWER

查看:53
本文介绍了GMP图书馆和POWER的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用GMP图书馆数学。


我需要计算12345678987654321.1234567876554456 ^

9876543212344556676.676767676


我该怎么办?

两个变量都是MPF类型。

谢谢

Hi
I''musing the GMP Libraries Mathematics.

I need to calculate 12345678987654321.1234567876554456 ^
9876543212344556676.676767676

How can i do ?
The two variables are type MPF.
Thanks

推荐答案

ca********@freemail.it 写道:

我正在使用GMP图书馆数学。


我需要计算12345678987654321.1234567876554456 ^

9876543212344556676.676767676

我该怎么办?

两个变量都是MPF类型。
I''musing the GMP Libraries Mathematics.

I need to calculate 12345678987654321.1234567876554456 ^
9876543212344556676.676767676

How can i do ?
The two variables are type MPF.



你的问题不是C语言。


我确定GMP包含大量文档。它没有回答你的问题吗?


-

Keith Thompson(The_Other_Keith) ks *** @ mib.org < http://www.ghoti.net/~kst>

诺基亚

我们必须做点什么。这是事情。因此,我们必须这样做。

- Antony Jay和Jonathan Lynn,是部长

Your question isn''t about the C language.

I''m sure GMP includes extensive documentation. Did it not answer your
question?

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"


On 30 Set,19 :27,Keith Thompson< ks ... @ mib.orgwrote:
On 30 Set, 19:27, Keith Thompson <ks...@mib.orgwrote:

calimer ... @ freemail.it写道:
calimer...@freemail.it writes:

我正在使用GMP图书馆数学。
I''musing the GMP Libraries Mathematics.


我需要计算* 12345678987654321.1234567876554456 * ^

9876543212344556676.676767676
I need to calculate *12345678987654321.1234567876554456 *^
9876543212344556676.676767676


我该怎么办?

这两个变量是MPF类型。
How can i do ?
The two variables are type MPF.



你的问题不是C语言。


我确定GMP包含大量文档。 *它没有回答你的

问题吗?


-

Keith Thompson(The_Other_Keith)ks ... @ mib。 org *< http://www.ghoti.net/~kst>

诺基亚

我们必须做点什么。 *这是事情。 *因此,我们必须这样做。

* * - Antony Jay和Jonathan Lynn,是部长


Your question isn''t about the C language.

I''m sure GMP includes extensive documentation. *Did it not answer your
question?

--
Keith Thompson (The_Other_Keith) ks...@mib.org *<http://www.ghoti.net/~kst>
Nokia
"We must do something. *This is something. *Therefore, we must do this."
* * -- Antony Jay and Jonathan Lynn, "Yes Minister"




好​​的。对不起。

文档没有报告解决方案。

谢谢adn Scuse me。



Ok. scuse me.
The documentation doesn''t report then solution.
Thanks adn Scuse me.


calimer ... @ freemail.it写道:
calimer...@freemail.it wrote:



我正在使用GMP图书馆数学。

我需要计算12345678987654321.1234567876554456 ^

9876543212344556676.676767676


我该怎么办?

这两个变量是类型MPF
Hi
I''musing the GMP Libraries Mathematics.

I need to calculate 12345678987654321.1234567876554456 ^
9876543212344556676.676767676

How can i do ?
The two variables are type MPF



GMP库在这个组中是偏离主题的,我对它们一无所知

。但是,我想问你一下你想要解决的问题。有一些强烈的暗示,你给出的数字只是例子。但是,你的例子表明你想要提高

a相当大的数字,其中有效数字为LOTS

另一个非常大的数字,也有很多有效数字。

如果答案中所需的有效位数必须是可比的,那么这是一个非常困难的问题。我认为

极不可能(但不可否认)你b $ b实际上有充分的理由进行这种计算。你可以吗?b $ b请解释你为什么要计算它?我强烈怀疑

有人可以指出一种方法来重新安排你的问题所以

你真正需要的信息可以找到更多

准确地比你原来问题的答案。

The GMP libraries are off-topic in this group, and I know nothing
about them. However, I would like to ask you about the problem you
want to solve. There''s strong hints that the numbers you''ve given are
just examples. However, your example indicates that you want to raise
a fairly large number with LOTS of significant digits to the power of
another very large number which also has LOTS of significant digits.
If the required number of significant digits in the answer must be
comparable, then this is an exceedingly difficult problem. I consider
it extremely unlikely (but admittedly not impossible) that you
actually have a good reason for performing this calculation. Could you
please explain why you want to calculate it? I strongly suspect
someone will be able to point out a way to rearrange your question so
that the information you really need can be found out much more
accurately than the answer to your original question.


这篇关于GMP图书馆和POWER的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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