【24h】

Twin-float arithmetic

机译:双浮点算术

获取原文
获取原文并翻译 | 示例
       

摘要

We present a heuristically certified form of floating-point arithmetic and its implementation in CoCoALib. This arithmetic is intended to act as a fast alternative to exact rational arithmetic, and is developed from the idea of paired floats expounded by Traverso and Zanoni (2002). As prerequisites we need a source of (pseudo-)random numbers, and an underlying floating-point arithmetic system where the user can set the precision. Twin-float arithmetic can be used only where the input data are exact, or can be obtained at high enough precision. Our arithmetic includes a total cancellation heuristic for sums and differences, and so can be used in classical algebraic algorithms such as Buchberger's algorithm. We also present a (new) algorithm for recovering an exact rational value from a twin-float, so in some cases an exact answer can be obtained from an approximate computation. The ideas presented here are implemented as a ring in CoCoALib, called RingTwinFloat, allowing them to be used easily in a wide variety of algebraic computations (including Grobner bases).
机译:我们提出了一种启发式认证的浮点算术形式及其在CoCoALib中的实现。这种算术旨在作为精确有理算术的快速替代,它是由Traverso和Zanoni(2002)阐述的成对浮点的思想发展而来的。作为先决条件,我们需要(伪)随机数的源以及用户可以在其中设置精度的基础浮点算术系统。双浮点算法只能在输入数据准确的情况下使用,或者可以在足够高的精度下获得。我们的算法包括求和与求和的总抵消启发式算法,因此可以在经典的代数算法(例如Buchberger算法)中使用。我们还提出了一种(新的)算法,用于从双浮标中恢复精确的有理值,因此在某些情况下,可以从近似计算中获得精确的答案。此处介绍的想法在CoCoALib中作为Ring实施,称为RingTwinFloat,使它们可以轻松用于各种代数计算(包括Grobner基)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号