Why do lots of (old) programs use floor(0.5 + input) instead of round(input)? January 31, 2023 by Tarik std::round is introduced in C++11. Before that, only std::floor was available so programmers were using it.