[libcxx-commits] [PATCH] D60371: Add lerp function to cmath (P0811R3)

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 6 17:40:10 PDT 2019


zoecarver created this revision.
zoecarver added reviewers: mclow.lists, howard.hinnant.
Herald added subscribers: libcxx-commits, ldionne.

Adds the `lerp` function as specified in P0811R3 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0811r3.html>.

I don't think the special conditions are necessary, but if they are, I can add them (from the sample implementation).


Repository:
  rCXX libc++

https://reviews.llvm.org/D60371

Files:
  include/cmath
  test/std/numerics/c.math/lerp.pass.cpp
  www/cxx2a_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60371.194044.patch
Type: text/x-patch
Size: 4501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190407/43f184a2/attachment-0001.bin>


More information about the libcxx-commits mailing list