Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dfloatobject.c1039 double wholepart; /* integral portion of x, rounded toward 0 */ in float_trunc() local
1041 (void)modf(x, &wholepart); in float_trunc()
1057 if ((double)LONG_MIN <= wholepart && wholepart < -(double)LONG_MIN) { in float_trunc()
1058 const long aslong = (long)wholepart; in float_trunc()
1061 return PyLong_FromDouble(wholepart); in float_trunc()