#include #ifdef BN_MP_REDUCE_SETUP_C /* LibTomMath, multiple-precision integer library -- Tom St Denis * * LibTomMath is a library that provides multiple-precision * integer arithmetic as well as number theoretic functionality. * * The library was designed directly after the MPI library by * Michael Fromberger but has been written from scratch with * additional optimizations in place. * * The library is free for all purposes without any express * guarantee it works. * * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* pre-calculate the value required for Barrett reduction * For a given modulus "b" it calulates the value required in "a" */ int mp_reduce_setup(mp_int *a, mp_int *b) { int res; if ((res = mp_2expt(a, b->used * 2 * DIGIT_BIT)) != MP_OKAY) { return res; } return mp_div(a, b, a, NULL); } #endif /* ref: $Format:%D$ */ /* git commit: $Format:%H$ */ /* commit time: $Format:%ai$ */ on value='3.3'>3.3 https://github.com/python/cpython.git
summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.client.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-29 10:19:53 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-29 10:19:53 (GMT)
commit0e90e99188d6fb54c3f5b31a0488318d9c38309d (patch)
treebaeb9819ae83194653cd3c3d4760a6c19c787a4d /Doc/library/http.client.rst
parent567eba1852ed89e5cf93dbce33f7e2ca73e8f05d (diff)
parentfbc1c268031a9c8fad65f49c8381b6145bd66ffc (diff)
downloadcpython-0e90e99188d6fb54c3f5b31a0488318d9c38309d.zip
cpython-0e90e99188d6fb54c3f5b31a0488318d9c38309d.tar.gz
cpython-0e90e99188d6fb54c3f5b31a0488318d9c38309d.tar.bz2
Issue #19795: Improved markup of True/False constants.