Message403965
I searched for "PyFloat_AS_DOUBLE.*=" regex in the PyPI top 5000 projects. I couldn't find any project doing that.
I only found perfectly safe comparisons:
traits/ctraits.c: if (PyFloat_AS_DOUBLE(value) <= PyFloat_AS_DOUBLE(low)) {
traits/ctraits.c: if (PyFloat_AS_DOUBLE(value) >= PyFloat_AS_DOUBLE(high)) {
c/_cffi_backend.c: return PyFloat_AS_DOUBLE(ob) != 0.0;
pandas/_libs/src/klib/khash_python.h: ( PyFloat_AS_DOUBLE(a) == PyFloat_AS_DOUBLE(b) ); |
|
Date |
User |
Action |
Args |
2021-10-15 00:00:17 | vstinner | set | recipients:
+ vstinner, lemburg, rhettinger |
2021-10-15 00:00:17 | vstinner | set | messageid: <1634256017.81.0.797575756877.issue45476@roundup.psfhosted.org> |
2021-10-15 00:00:17 | vstinner | link | issue45476 messages |
2021-10-15 00:00:17 | vstinner | create | |
|