Message41822
--- Python-2.Objects/floatobject.c Sun May 12
17:20:38 2002
+++ Python-2.2.2-ben/Objects/floatobject.c Thu Nov
28 18:25:04 2002
@@ -645,7 +645,7 @@
long aslong; /* (long)wholepart */
(void)modf(x, &wholepart);
-#ifdef RISCOS
+#if defined(RISCOS) || defined(__FreeBSD__)
/* conversion from floating to integral type
would raise exception */
if (wholepart>LONG_MAX || wholepart<LONG_MIN) {
PyErr_SetString(PyExc_OverflowError,
"float too large to convert");
|
|
Date |
User |
Action |
Args |
2007-08-23 15:18:38 | admin | link | issue645382 messages |
2007-08-23 15:18:38 | admin | create | |
|