[New-bugs-announce] [issue37132] Add a module for integer related math functions
Serhiy Storchaka
report at bugs.python.org
Sun Jun 2 06:54:57 EDT 2019
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
The math module contains as function for floating-point numbers, as wells as functions for integer only numbers: factorial(), gcd(). Yet few integer specific functions was added in 3.8: isqrt(), perm(), comb().
The proposed PR adds the new imath module, adds into it old functions factorial() and gcd() and moves new functions. It also adds two additional functions: as_integer_ratio() and ilog2().
There are plans for adding more integer functions: divide_and_round(), is_prime(), primes(), but the work in progress.
----------
components: Library (Lib)
messages: 344269
nosy: mark.dickinson, rhettinger, serhiy.storchaka, stutzbach, tim.peters
priority: normal
severity: normal
status: open
title: Add a module for integer related math functions
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37132>
_______________________________________
More information about the New-bugs-announce
mailing list