Home
last modified time | relevance | path

Searched refs:nb_float (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Objects/
Dtypeslots.inc12 offsetof(PyHeapTypeObject, as_number.nb_float),
Dcomplexobject.c962 if (nbr == NULL || (nbr->nb_float == NULL && nbr->nb_index == NULL)) { in complex_new_impl()
974 if (nbi == NULL || (nbi->nb_float == NULL && nbi->nb_index == NULL)) { in complex_new_impl()
Dfloatobject.c249 if (nb == NULL || nb->nb_float == NULL) { in PyFloat_AsDouble()
264 res = (*nb->nb_float) (op); in PyFloat_AsDouble()
Dabstract.c825 Py_TYPE(o)->tp_as_number->nb_float); in PyNumber_Check()
1523 if (m && m->nb_float) { /* This should include subclasses of float */ in PyNumber_Float()
1524 PyObject *res = m->nb_float(o); in PyNumber_Float()
Dtypeobject.c5222 COPYNUM(nb_float); in inherit_slots()
7227 UNSLOT("__float__", nb_float, slot_nb_float, wrap_unaryfunc,
/third_party/python/Include/cpython/
Dobject.h134 unaryfunc nb_float; member
/third_party/boost/libs/python/src/converter/
Dbuiltin_converters.cpp355 ? &number_methods->nb_float : 0; in get_slot()
/third_party/python/Doc/c-api/
Dtypeobj.rst271 …| :c:member:`~PyNumberMethods.nb_float` | :c:type:`unaryfunc` | __…
1997 unaryfunc nb_float;
2054 .. c:member:: unaryfunc PyNumberMethods.nb_float
/third_party/python/Misc/
DHISTORY21979 nb_float slot, rather than simply checking whether it has a non-NULL
22238 - PyNumber_Check() now checks that the object has a nb_int or nb_float