多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 9. Numeric and Mathematical Modules The modules described in this chapter provide numeric and math-related functions and data types. The [numbers](# "numbers: Numeric abstract base classes (Complex, Real, Integral, etc.).") module defines an abstract hierarchy of numeric types. The [math](# "math: Mathematical functions (sin() etc.).") and [cmath](# "cmath: Mathematical functions for complex numbers.") modules contain various mathematical functions for floating-point and complex numbers. For users more interested in decimal accuracy than in speed, the [decimal](# "decimal: Implementation of the General Decimal Arithmetic Specification.") module supports exact representations of decimal numbers.