Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py: Temporary fix for conversion of float to int when fits in small int. | Damien George | 2015-01-07 |
| | | | | Addresses issue #1044 (see also #1040). Could do with a better fix. | ||
* | py: Raise exception if trying to convert inf/nan to int. | Damien George | 2015-01-02 |
| | |||
* | py: Fix float to int conversion for large exponents. | David Steinberg | 2015-01-02 |
| | |||
* | objstr: Fix %d-formatting of floats. | Paul Sokolovsky | 2014-12-31 |
| | |||
* | py: Partially fix float to int conversion. | Paul Sokolovsky | 2014-12-30 |
This fixes conversion when float type has more mantissa bits than small int, and float value has small exponent. This is for example the case of 32-bit platform using doubles, and converting value of time.time(). Conversion of floats with larg exponnet is still not handled correctly. |