9. 数值和数学模块

此章描述的模块提供数值和数学相关函数、数据类型。 numbers 模块定义数值类型的抽象层次结构。 math and cmath modules contain various mathematical functions for floating-point and complex numbers. For users more interested in decimal accuracy than in speed, the decimal module supports exact representations of decimal numbers.

本章文档化了以下模块:

上一话题

8.19. repr — 替代 repr() 实现

下一话题

9.1. numbers — 数值抽象基类

本页