Hacker News new | ask | show | jobs
by abainbridge 1283 days ago
std::midpoint also seems to yield less efficient code with g++12 targeting x86-64: https://godbolt.org/z/j695ce98Y
1 comments

std::midpoint does different thing in terms of rounding, therefore comparison is not fair.