Skip to content

Rounded times

username-removed-49453 requested to merge terencehill/rounded_times into master

This branch fixes wrong rounding of Race/CTS times (and CTF capture times displayed in console).

Times of this form: X.YZW5... are currently improperly rounded to X.YZ(W-1) instead of X.YZ(W+1) e.g: 10.3258 -> 10.32 (correct: 10.33)

Statistically speaking, 10% of the existing (recorded) times are improperly rounded with an unfair gain of max 0.001s (NOTE: max gain isn't 0.01s as you might think taking a quick look at results of the above example)

Edited by username-removed-49453

Merge request reports