区间计算库的跨平台基准测试
A Cross-Platform Benchmark for Interval Computation Libraries
AI总结:
本文提出首个区间计算基准测试,结合精确算术参考解,跨平台比较主流 C/C++ 区间库,以揭示实现局限并指导库的选择与开发。
摘要:
区间计算被广泛用于对使用浮点运算的计算进行认证,以避免因不精确运算引入的舍入误差所带来的陷阱。尽管区间计算广受欢迎且具有实际益处,但对区间算术的支持既未标准化,也未在主流编程语言中提供。我们提出了首个区间计算基准测试,并配以使用精确算术计算的参考解,同时在不同的体系结构、操作系统和编译器上比较了流行的 C 和 C++ 库。该基准测试能够识别现有实现中的局限性,并为在每个系统上应使用哪个库提供可靠指导。我们相信,我们的基准测试将对未来区间库的开发者有用,可作为测试其算法正确性和性能的一种方式。
英文摘要:
Interval computation is widely used to certify computations that use floating point operations to avoid pitfalls related to rounding error introduced by inaccurate operations. Despite its popularity and practical benefits, support for interval arithmetic is not standardized nor available in mainstream programming languages. We propose the first benchmark for interval computations, coupled with reference solutions computed with exact arithmetic, and compare popular C and C++ libraries over different architectures, operating systems, and compilers. The benchmark allows identifying limitations in existing implementations, and provides a reliable guide on which library to use on each system. We believe that our benchmark will be useful for developers of future interval libraries, as a way to test the correctness and performance of their algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。