News for hackers. Stuff that matters.
Re:The most copied StackOverflow snippet of all time is flawed by delta_p_delta_x on Thursday September 28, 2023 @03:00AM (#37686277)
You should see the implementation of `std::midpoint`[1].

Accounting for correctness even in edge-cases is what large libraries do better than throwaway bits of code.

[1]: https://github.com/microsoft/STL/blob/6735beb0c2260e325c3a4c...

There are no comments on this comment yet.