Searched refs:wholepart (Results 1 – 2 of 2) sorted by relevance
895 double wholepart; /* integral portion of x, rounded toward 0 */ in float___trunc___impl() local897 (void)modf(x, &wholepart); in float___trunc___impl()910 if (LONG_MIN < wholepart && wholepart < LONG_MAX) { in float___trunc___impl()911 const long aslong = (long)wholepart; in float___trunc___impl()914 return PyLong_FromDouble(wholepart); in float___trunc___impl()
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()