Hacker News new | ask | show | jobs
by leptoniscool 1589 days ago
This seems fundamental, surprised elementary operations hasn't been made a part of every major language/framework.
1 comments

>Bonus chatter: C++20 adds a std::midpoint function that calculates the average of two values (rounding toward a).