mclow.lists updated this revision to Diff 126986.
mclow.lists added a comment.
More context in the diff, and removed some tabs.
Also commented out the constexpr tests for divide, since they fail at the
moment.
https://reviews.llvm.org/D40651
Files:
include/complex
test/std/numerics/complex
mclow.lists created this revision.
This patch implements most of https://wg21.link/P0451r1 - the notable exception
being division.
The current implementation of complex division in libc++ uses `logb`, `fmax`,
and a couple of other primitives that are not constexpr. The paper has some
approaches