← 返回卡片

原书出处

通过测试学习 Go 编程

20 数学

核验版本的摘录快照 · 导入于 2026-11-06T05:46:29.434Z

t %v", c.point, got) } }) } } func roughlyEqualFloat64(a, b float64) bool { const equalityThreshold = 1e-7 return math.Abs(a-b) < equalityThreshold }

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/通过测试学习 Go 编程/_epub-src/OEBPS/Text/19.html

EPUB SHA-256:ae0739d017ac4a78eee8dadaa06db073c6a3c918211f81574470675856959cf4