Searched refs:nb_float (Results 1 – 9 of 9) sorted by relevance
12 offsetof(PyHeapTypeObject, as_number.nb_float),
962 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()
249 if (nb == NULL || nb->nb_float == NULL) { in PyFloat_AsDouble()264 res = (*nb->nb_float) (op); in PyFloat_AsDouble()
825 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()
5222 COPYNUM(nb_float); in inherit_slots()7227 UNSLOT("__float__", nb_float, slot_nb_float, wrap_unaryfunc,
134 unaryfunc nb_float; member
355 ? &number_methods->nb_float : 0; in get_slot()
271 …| :c:member:`~PyNumberMethods.nb_float` | :c:type:`unaryfunc` | __…1997 unaryfunc nb_float;2054 .. c:member:: unaryfunc PyNumberMethods.nb_float
21979 nb_float slot, rather than simply checking whether it has a non-NULL22238 - PyNumber_Check() now checks that the object has a nb_int or nb_float