Skip to content

Update p02_accurate_decimal_calculations.rst #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/c03/p02_accurate_decimal_calculations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Python新手会倾向于使用 ``decimal`` 模块来处理浮点数的精确运
第二点就是,原生的浮点数计算要快的多-有时候你在执行大量运算的时候速度也是非常重要的。

即便如此,你却不能完全忽略误差。数学家花了大量时间去研究各类算法,有些处理误差会比其他方法更好。
你也得注意下减法删除已经大数和小数的加分运算所带来的影响。比如:
你也得注意下减法删除以及大数和小数的加分运算所带来的影响。比如:

.. code-block:: python

Expand Down