mamrhein / fpdec.rs

Fast implementation of Decimal fixed-point arithmetics
BSD 3-Clause "New" or "Revised" License
17 stars 4 forks source link

lshift overflow in from_float.rs:217 #9

Closed rscarson closed 10 months ago

rscarson commented 10 months ago

Converting from certain f64 values results in a left-shift overflow during conversion
The value 113078212145816600000000000000000000000000000000000000000000000000000000000.0 is one such example

mamrhein commented 10 months ago

Fixed in version 0.10.1.