[libc++] Fix buggy numerics of tanh(complex) at inf
Because:
lim[x->inf, tanh(x+iy)] = 1
lim[x->-inf, tanh(x+iy)] = -1
See also https://github.com/NVIDIA/libcudacxx/pull/210
Differential Revision: https://reviews.llvm.org/D112252
parent
f21c2473
Please register or sign in to comment