mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
had a coefficient with MAX_PREC=425000000 digits and a negative exponent. Increasing the context limits above the official values fixes the issue and is safe (in this case!). |
||
|---|---|---|
| .. | ||
| bench.py | ||
| bignum.py | ||
| deccheck.py | ||
| formathelper.py | ||
| randdec.py | ||
| randfloat.py | ||
| README.txt | ||
| runall-memorydebugger.sh | ||
| runall.bat | ||
This directory contains extended tests and a benchmark against decimal.py: bench.py -> Benchmark for small and large precisions. Usage: ../../../python bench.py formathelper.py -> randdec.py -> Generate test cases for deccheck.py. randfloat.py -> deccheck.py -> Run extended tests. Usage: ../../../python deccheck.py [--short|--medium|--long|--all]