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 <AANLkTimy5Bkz6ixw7ni0MscpdobRjdamBO1-09HyYbZu@mail.gmail.com>
In-reply-to <1273687145.76.0.970541386666.issue8692@psf.upfronthosting.co.za>
Content
On Wed, May 12, 2010 at 12:59 PM, Mark Dickinson <report@bugs.python.org> 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 6.3.1.4,p2).

I was planning to add a "if (dx > (double) LONG_MAX)" check.  Would
that be sufficient?
History
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