-
BenchmarkRunner: use std::lround() to round double to int · cc7f50e1Roman Lebedev authored
From clang-tidy bugprone-incorrect-roundings check: > casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead
×