Skip to content
  • Paul Sokolovsky's avatar
    py: Partially fix float to int conversion. · 12033df5
    Paul Sokolovsky authored
    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.
    12033df5