Have math.isnormal() and, perhaps, math.issubnormal()? · Issue #132908 · python/cpython (original) (raw)

Feature or enhancement

Proposal:

Of course, these functions can be emulated in pure-Python.

On another hand, people can reasonably expect these classifiers as "The math module consists mostly of thin wrappers around the platform C math library functions." (c) isnormal() was in libm since C99 and issubnormal() - since C23.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

No response

Linked PRs