Please sign in to comment.
FixedInt - round instead of truncate on construction
This could have caused issues where e.g. Fixed100(59.94) differed from Fixed100::fromString("59.94") due to precision compilation flags (the former could, and did on Devel builds, end up with Raw == 5993, which differs from the value constructed from the string at the ini file, and then it would be incorrectly identified as a custom rate). Rounding seems the more likely intention when effectively decreasing the precision of a value. Unlikely that we have code which depends on truncating behavior, though not impossible.
- Loading branch information...
Showing with 2 additions and 2 deletions.