3 ms·
This seems fundamental, surprised elementary operations hasn't been made a part of every major language/framework.
by leptoniscool 5y ago
This seems fundamental, surprised elementary operations hasn't been made a part of every major language/framework.
- mzs 5y ago>Bonus chatter: C++20 adds a std::midpoint function that calculates the average of two values (rounding toward a).