---
title: 数学库的差异
description: 不同数学库对同一个数学函数（如asindf、cosdf、cbrt、powr8i4、exp2等）的实现略有差异。虽然差异数量少，差异位数少，但是误差也会在应用的反复迭代计算中不断累积和放大。
url: "https://www.hikunpeng.com/document/detail/zh/perftuning/precisionopt/kunpengprecision_12_0011.html"
---

# 数学库的差异

不同数学库对同一个数学函数（如asindf、cosdf、cbrt、powr8i4、exp2等）的实现略有差异。虽然差异数量少，差异位数少，但是误差也会在应用的反复迭代计算中不断累积和放大。
