diff options
author | Stefan Krah <skrah@bytereef.org> | 2020-02-23 13:36:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-23 13:36:54 (GMT) |
commit | b76518d43fb82ed9e5d27025d18c90a23d525c90 (patch) | |
tree | ca7dbecb150472d1b62c5b25e00fa636ddd8ecc7 /Doc | |
parent | 559e7f165ad03731e6bc2211c0e6d8d9c02fb549 (diff) | |
download | cpython-b76518d43fb82ed9e5d27025d18c90a23d525c90.zip cpython-b76518d43fb82ed9e5d27025d18c90a23d525c90.tar.gz cpython-b76518d43fb82ed9e5d27025d18c90a23d525c90.tar.bz2 |
bpo-39576: Clarify the word size for the 32-bit build. (#18616)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/decimal.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index 2a51429..4e640cc 100644 --- a/Doc/library/decimal.rst +++ b/Doc/library/decimal.rst @@ -2155,8 +2155,8 @@ RAM and expect 10 simultaneous operands using a maximum of 500MB each:: >>> import sys >>> - >>> # Maximum number of digits for a single operand using 500MB in 8 byte words - >>> # with 19 (9 for the 32-bit version) digits per word: + >>> # Maximum number of digits for a single operand using 500MB in 8-byte words + >>> # with 19 digits per word (4-byte and 9 digits for the 32-bit build): >>> maxdigits = 19 * ((500 * 1024**2) // 8) >>> >>> # Check that this works: |