Files
cosmos-sdk/types
Emmanuel T Odeke 21716644d4 types: unconditionally divide by 2 because of integer truncation ⌊x/2⌋ (#8202)
Simplify the code in Dec.Power to unconditionally divide by 2, since:
    x /= 2
is the same result for both even and odd integers, and produces the
floor of the result of x/2 -> ⌊x/2⌋:
    99/2 ~> 49.5 ⌊49.5⌋ = 49
    98/2 ~> 49.0 ⌊49.0⌋ = 49
aka "integer truncation".

Fixes #7924
2020-12-20 10:41:59 -08:00
..
2020-12-02 14:50:50 +01:00
2020-08-14 13:58:53 -04:00
2020-12-04 15:06:50 +00:00
2020-05-08 08:46:12 +00:00
2020-09-22 19:46:48 -04:00
2020-12-04 15:06:50 +00:00
2020-08-14 13:58:53 -04:00