[libcxx-commits] [PATCH] D60869: Added std::assoc_laguerre and std::laguerre [sf.cmath]

Andre Brand via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 13 09:53:29 PDT 2019


thebrandre updated this revision to Diff 199285.
thebrandre edited the summary of this revision.
thebrandre added a comment.

Changes analog to the latest changes to D60234 <https://reviews.llvm.org/D60234> and D59937 <https://reviews.llvm.org/D59937>:

- Signal "domain error" according C11 Standard 7.12.1 and not as std::domain_error. See D60234 <https://reviews.llvm.org/D60234> for details.
- Moved the tests for consistency with the latest changes in cmath (lerp).
- Simplification of the tests: now using only one set of reference values generated by boost with multiprecision floats (256bit rounded to 128bit). I am pretty optimistic that every digit is correct, so that the comparison to libstdc++ no longer serves any purpose.
- Rebased against current master branch.


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

https://reviews.llvm.org/D60869

Files:
  libcxx/include/cmath
  libcxx/src/CMakeLists.txt
  libcxx/src/cmath.cpp
  libcxx/test/std/numerics/c.math/c.math.laguerre/assoc_laguerre_basic.pass.cpp
  libcxx/test/std/numerics/c.math/c.math.laguerre/assoc_laguerre_comparisons.pass.cpp
  libcxx/test/std/numerics/c.math/c.math.laguerre/assoc_laguerre_exceptions.pass.cpp
  libcxx/test/std/numerics/c.math/c.math.laguerre/laguerre_basic.pass.cpp
  libcxx/test/std/numerics/c.math/c.math.laguerre/laguerre_comparisons.pass.cpp
  libcxx/test/std/numerics/c.math/c.math.laguerre/laguerre_exceptions.pass.cpp
  libcxx/test/std/numerics/c.math/cmath.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60869.199285.patch
Type: text/x-patch
Size: 64091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190513/b1365725/attachment-0001.bin>


More information about the libcxx-commits mailing list