此章描述的模块提供数值和数学相关函数、数据类型。 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.
本章文档化了以下模块: