This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stutzbach
Recipients belopolsky, draghuram, mark.dickinson, rhettinger, stutzbach
Date 2010-05-12.18:37:48
SpamBayes Score 0.0139777
Marked as misclassified No
Message-id <>
In-reply-to <>
On Wed, May 12, 2010 at 12:59 PM, Mark Dickinson <> wrote:
> (4) And please do restore the PyLong_FromDouble line in the main routine, rather than using a C double-to-long cast.  The direct conversion again leads to undefined behaviour for large doubles (cf. C99,p2).

I was planning to add a "if (dx > (double) LONG_MAX)" check.  Would
that be sufficient?
Date User Action Args
2010-05-12 18:37:50stutzbachsetrecipients: + stutzbach, rhettinger, mark.dickinson, belopolsky, draghuram
2010-05-12 18:37:49stutzbachlinkissue8692 messages
2010-05-12 18:37:49stutzbachcreate