Message105600
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? |
|
Date |
User |
Action |
Args |
2010-05-12 18:37:50 | stutzbach | set | recipients:
+ stutzbach, rhettinger, mark.dickinson, belopolsky, draghuram |
2010-05-12 18:37:49 | stutzbach | link | issue8692 messages |
2010-05-12 18:37:49 | stutzbach | create | |
|