Message28410
Logged In: YES
user_id=6656
Nevertheless, assuming that a compiler implements the relavent standards (i.e.
Appendix F of C99) it's pretty clear that what PyLong_FromDouble does with a
nan is pretty random. frexp(dval, &expo); for dval nan stores an unspecified
value in expo which is then used to compute the length of the resulting long. If
the unspecified value is large-ish and positive, hilarity ensues. |
|
Date |
User |
Action |
Args |
2007-08-23 14:39:47 | admin | link | issue1481296 messages |
2007-08-23 14:39:47 | admin | create | |
|