About=====_decimal.c is a wrapper for the libmpdec library. libmpdec is a fast Clibrary for correctly-rounded arbitrary precision decimal floating pointarithmetic. It is a complete implementation of Mike Cowlishaw/IBM'sGeneral Decimal Arithmetic Specification.Build process for the module============================As usual, the build process for _decimal.so is driven by setup.py in the toplevel directory. setup.py autodetects the following build configurations:1) x64 - 64-bit Python, x86_64 processor (AMD, Intel)2) uint128 - 64-bit Python, compiler provides __uint128_t (gcc)3) ansi64 - 64-bit Python, ANSI C4) ppro - 32-bit Python, x86 CPU, PentiumPro or later5) ansi32 - 32-bit Python, ANSI C6) ansi-legacy - 32-bit Python, compiler without uint64_t7) universal - Mac OS only (multi-arch)It is possible to override autodetection by exporting:PYTHON_DECIMAL_WITH_MACHINE=value, where value is one of the above options.NOTE====decimal.so is not built from a static libmpdec.a since doing so led tofailures on AIX (user report) and Windows (mixing static and dynamic CRTscauses locale problems and more).
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。