Home
last modified time | relevance | path

Searched refs:nb_float (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Include/cpython/
H A Dobject.h84 unaryfunc nb_float; member
/third_party/python/Objects/
H A Dcomplexobject.c949 (nbr->nb_float == NULL && nbr->nb_index == NULL && !PyComplex_Check(r))) in complex_new_impl()
963 (nbi->nb_float == NULL && nbi->nb_index == NULL && !PyComplex_Check(i))) in complex_new_impl()
1058 0, /* nb_float */
H A Dabstract.c837 return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o)); in PyNumber_Check()
1645 if (m && m->nb_float) { /* This should include subclasses of float */ in PyNumber_Float()
1646 PyObject *res = m->nb_float(o); in PyNumber_Float()
1686 /* A float subclass with nb_float == NULL */ in PyNumber_Float()
H A Dfloatobject.c305 if (nb == NULL || nb->nb_float == NULL) { in PyFloat_AsDouble()
320 res = (*nb->nb_float) (op); in PyFloat_AsDouble()
1873 float_float, /* nb_float */
H A Dtypeobject.c5898 COPYNUM(nb_float); in inherit_slots()
8143 UNSLOT("__float__", nb_float, slot_nb_float, wrap_unaryfunc,

Completed in 20 milliseconds