每日 Harness 开源 · Source
返回本期 · Back to 2026-08-21

博客文章 · Blog Posts2026-08-21 · Friday, August 21, 2026

Double-double: 31 digits of precision without leaving the FPU

marekfiser.com原文 ↗

Double-double: 31 digits of precision without leaving the FPU
double-double 用两个双精度数保存高位与低位分量,通过误差补偿获得约 31 位十进制有效精度,不依赖原生 quad 类型。代价是每次算术都要维护舍入误差,因此它适合精度敏感的中间量,不适合把所有浮点运算无差别替换掉。
浏览

评论 · Comments