Searched refs:wholepart (Results 1 – 1 of 1) sorted by relevance
1039 double wholepart; /* integral portion of x, rounded toward 0 */ in float_trunc() local1041 (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()