mirror of
https://github.com/valkey-io/valkey.git
synced 2026-05-09 23:09:40 -04:00
eef29b68a2
Any value in the range of [0-1) turns to 0 when being cast from double to long long. This change rounds up instead of down for values that can't be stored precisely as long doubles.