NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
### 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.