mamrhein / fpdec.rs

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

Bug; multiplication overflow causes crashing for very small values during float conversion #15

Closed rscarson closed 9 months ago

rscarson commented 9 months ago

Issue occurs here

-1e-22 is just small enough to trigger the crash

mamrhein commented 9 months ago

Fixed with version 0.10.3.