@@ -361,7 +361,7 @@ extern "C" double PyLong_AsDouble(PyObject* vv) noexcept {
361361    mpfr_init_set_z (result, l->n , MPFR_RNDN);
362362
363363    double  result_f = mpfr_get_d (result, MPFR_RNDN);
364-     if  (isinf (result_f)) {
364+     if  (std:: isinf
365365        PyErr_SetString (PyExc_OverflowError, " long int too large to convert to float" 
366366        return  -1 ;
367367    }
@@ -415,11 +415,11 @@ extern "C" PyAPI_FUNC(PyObject*) _PyLong_Format(PyObject* aa, int base, int addL
415415}
416416
417417extern  " C" PyLong_FromDouble (double  v) noexcept  {
418-     if  (isnan (v)) {
418+     if  (std:: isnan
419419        PyErr_SetString (PyExc_ValueError, " cannot convert float NaN to integer" 
420420        return  NULL ;
421421    }
422-     if  (isinf (v)) {
422+     if  (std:: isinf
423423        PyErr_SetString (PyExc_OverflowError, " cannot convert float infinity to integer" 
424424        return  NULL ;
425425    }
@@ -1403,7 +1403,7 @@ Box* longTrueDiv(BoxedLong* v1, Box* _v2) {
14031403
14041404    double  result_f = mpfr_get_d (result, MPFR_RNDN);
14051405
1406-     if  (isinf (result_f)) {
1406+     if  (std:: isinf
14071407        raiseExcHelper (OverflowError, " integer division result too large for a float" 
14081408    }
14091409    return  boxFloat (result_f);
@@ -1431,7 +1431,7 @@ Box* longRTrueDiv(BoxedLong* v1, Box* _v2) {
14311431    mpfr_div (result, lhs_f, rhs_f, MPFR_RNDN);
14321432
14331433    double  result_f = mpfr_get_d (result, MPFR_RNDZ);
1434-     if  (isinf (result_f)) {
1434+     if  (std:: isinf
14351435        raiseExcHelper (OverflowError, " integer division result too large for a float" 
14361436    }
14371437    return  boxFloat (result_f);
0 commit comments