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

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 15 04:34:09 PDT 2019


mclow.lists requested changes to this revision.
mclow.lists added a comment.
This revision now requires changes to proceed.

This is too simplistic.

I have a better implementation of this; but I need more tests for the denormalized cases.
Mine also fails for edge cases like this: `assert(std::isinf(std::lerp(T( 0), T( 1),   inf)));`


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60371/new/

https://reviews.llvm.org/D60371





More information about the libcxx-commits mailing list