四倍精度 [英] quadruple precision

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

问题描述




我不知道这是不是正确的新闻组但是它来了


我需要四倍的精度下一个项目并且正在考虑是否将一个

四倍类型添加到Visual Studio 2005 C ++中?


感谢Torben Laursen



---

外发邮件经过无病毒认证。

由AVG反病毒系统检查( http://www.grisoft.com)

版本:6.0.786 /病毒库:532 - 发布日期:29/10/2004

解决方案

Torben Laursen写道:


我不知道这是不是正确的新闻组,但它来了

我的下一个项目需要四倍的精度,并且正在考虑是否在Visual Studio 2005中添加了四重类型C ++?




编号VC ++ 2005提供的浮点类型是山姆e作为VC ++

2003 - 浮动和双倍。解析器接受'long double'',但实现时它与double的类型相同。


没有版本VC ++有曾经支持双倍或任何形式的128位

浮点数(包括64位操作系统的VC,AFIAK)。


-cd





" Torben Laursen"写道:



我不知道这是不是正确的新闻组,但在这里它来了

我需要四倍在我的下一个项目中是否精确,并且正在考虑是否在Visual Studio 2005 C ++中添加了四重类型?


你试过long double吗? ?


感谢Torben Laursen


---
发送的邮件经过无病毒认证。
由AVG反查病毒系统( http://www.grisoft.com)
版本:6.0.786 /病毒库:532 - 发布日期:29/10/2004



您好JimmyC


long double不会给我更多,然后加倍。我需要大约25位数。


Torben


" JimmyC" <籍**** @ discussions.microsoft.com>在消息中写道

新闻:C1 ********************************** @ microsof t.com ...



Torben Laursen写道:



我不知道这是不是正确的新闻组,但在这里它来了

我需要四倍我的下一个项目的精度是否正在考虑是否在Visual Studio 2005 C ++中添加了四重类型?



你试过long double吗? ?

感谢Torben Laursen


---
外发邮件已通过无病毒认证。
由AVG反病毒系统( http://www.grisoft.com)检查
版本:6.0.786 /病毒库:532 - 发布日期:29/10/2004



---

外发邮件已通过无病毒验证。

由AVG反病毒系统检查( http://www.grisoft.com)

版本:6.0.786 /病毒库:532 - 发布日期:29/10/2004


Hi

I don''t know if this is the right newsgroup but here it comes

I need quadruple precision in my next project and was thinking if a
quadruple type was added to Visual studio 2005 C++?

Thanks Torben Laursen


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.786 / Virus Database: 532 - Release Date: 29/10/2004

解决方案

Torben Laursen wrote:

Hi

I don''t know if this is the right newsgroup but here it comes

I need quadruple precision in my next project and was thinking if a
quadruple type was added to Visual studio 2005 C++?



No. The floating point types provided by VC++ 2005 are the same as VC++
2003 - float and double. ''long double'' is accepted by the parser, but it''s
the same type as double in the implementation.

No version VC++ has ever supported "double double" or any form of 128bit
floating point (including VC for 64bit OS''s, AFIAK).

-cd




"Torben Laursen" wrote:

Hi

I don''t know if this is the right newsgroup but here it comes

I need quadruple precision in my next project and was thinking if a
quadruple type was added to Visual studio 2005 C++?

have you tried "long double" ?

Thanks Torben Laursen


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.786 / Virus Database: 532 - Release Date: 29/10/2004



Hi JimmyC

Long double does not give me much more then double. I need around 25 digits.

Torben

"JimmyC" <Ji****@discussions.microsoft.com> wrote in message
news:C1**********************************@microsof t.com...



"Torben Laursen" wrote:

Hi

I don''t know if this is the right newsgroup but here it comes

I need quadruple precision in my next project and was thinking if a
quadruple type was added to Visual studio 2005 C++?



have you tried "long double" ?

Thanks Torben Laursen


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.786 / Virus Database: 532 - Release Date: 29/10/2004


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.786 / Virus Database: 532 - Release Date: 29/10/2004


这篇关于四倍精度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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