回复 36楼Leo的帖子
这是document上的原话:
Unlike hardware based binary floating point, the decimal module has a user alterable precision (defaulting to 28 places) which can be as large as needed for a given problem。
它是使用十进制来存储、计算的,所以计算速度是folat的千分之一到万分之一之间,计算速度有点慢。。 |
|