https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101794
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://github.com/microsof | |t/STL/issues/65#issuecommen | |t-563811523 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Discussion around MSVC's implementation is at https://github.com/microsoft/STL/issues/65#issuecomment-563811523 https://gcc.gnu.org/pipermail/gcc-patches/2019-March/518269.html The midpoint and lerp functions for floating point types come straight from the P0811R3 proposal, with no attempt at optimization. The paper: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0811r3.html >From everything, both libstdc++v3 and libc++ implementations are still correct but I am going to leave it up to someone else to decide that.