多精度浮点 [英] Multi precision floating point

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

问题描述

亲爱的,


我想做多精度浮点,即我希望

超越单精度,双精度并且

四倍精度,八倍精度等,

并且可能具有高速度。


可能的替代方案是什么?

感谢您的帮助


Mathieu

Dear all,

I want to do multiprecision floating point, i.e. I want
to go beyond single precision, double precision and have
quadruple precision, octuple precision and the like,
and possibly with high speed.

What would be the possible alternatives?
Thanks for any help

Mathieu

推荐答案

ma ************ @ gmail.com 写道:

亲爱的,


我想做多精度浮点运算,即我希望

超越单精度,双精度并且有
四倍精度,八倍精度等,

并且可能具有高速度。


什么是可能的替代方案?

感谢您的帮助


Mathieu
Dear all,

I want to do multiprecision floating point, i.e. I want
to go beyond single precision, double precision and have
quadruple precision, octuple precision and the like,
and possibly with high speed.

What would be the possible alternatives?
Thanks for any help

Mathieu



lcc-win提出qfloat precision( 352比特,107位数)

和bignums,可以任意大。


-

jacob navia

jacob at jacob point remcomp point fr

logiciels / informatique
http://www.cs.virginia.edu/~lcc-win32


2007-11-28 , ma************@gmail.com < ma************@gmail.com写道:
On 2007-11-28, ma************@gmail.com <ma************@gmail.comwrote:

我想做多精度浮点数,即我想要

超越单精度,双倍精度,并且具有四倍精度,八倍精度等,

并且可能具有高速度。


可能的替代方案是什么?
I want to do multiprecision floating point, i.e. I want
to go beyond single precision, double precision and have
quadruple precision, octuple precision and the like,
and possibly with high speed.

What would be the possible alternatives?

http://en.wikipedia.org/ wiki / Arbitra ... ion_arithmetic


jacob navia写道:
jacob navia wrote:
ma ************ @ gmail.com 写道:

>亲爱的,

我想做多精度浮点,即我希望
超越单精度,双倍精度并且具有四倍的性能精度,八倍精度等,可能还有很高的速度。

有什么可能的选择?
感谢您的帮助

Mathieu
>Dear all,

I want to do multiprecision floating point, i.e. I want
to go beyond single precision, double precision and have
quadruple precision, octuple precision and the like,
and possibly with high speed.

What would be the possible alternatives?
Thanks for any help

Mathieu



lcc-win提出qfloat精度(352位,107位)

和bignums,可以任意大。


lcc-win proposes qfloat precision (352 bits, 107 digits)
and bignums, that can be arbitrarily big.



整整三分钟来宣传你的编译器,jacob?你得到了

慢。


到OP:jacob的编译器确实提供了这个功能。如果你只需要使用352位浮点数,并且只想在jacob实现其编译器的平台上使用

你的代码,并且

很高兴在项目的生命周期内坚持使用一个编译器,

然后一定要继续。


如果,另一方面手,你想写多个精度

浮点作为学习练习,或者你认为你需要在jacob以外的实现上使用你的代码。 s,或者你只是想

保持选择切换供应商,那么完全可以在标准C中写入多个精度浮点数。

。 >

菲利普

A whole three minutes to advertise your compiler, jacob? You''re getting
slow.

To the OP: jacob''s compiler does indeed provide this feature. If you
simply want to use 352-bit floating point, and only ever envisage using
your code on a platform which jacob implements his compiler on, and are
happy with sticking with one compiler for the lifetime of your project,
then by all means go ahead.

If, on the other hand, you want to write multiple-precision
floating-point as a learning exercise, or you forsee ever needing to use
your code on an implementation other than jacob''s, or you simply want to
keep the choice of switching vendors, then it is perfectly possible to
write multiple-precision floating-point in Standard C.

Philip


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

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