complex: fix ctanh(+-0+i*nan) and ctanh(+-0+-i*inf)
authorSzabolcs Nagy <nsz@port70.net>
Tue, 21 Apr 2015 23:04:11 +0000 (23:04 +0000)
committerRich Felker <dalias@aerifal.cx>
Fri, 1 May 2015 17:37:42 +0000 (13:37 -0400)
commitb02eed9c4841913d690a2d0029737d72615384fe
tree3309e83aa23e51ce15da864f21742eb296f103bb
parente98a54643ee95032baab883673628314e520012e
complex: fix ctanh(+-0+i*nan) and ctanh(+-0+-i*inf)

These cases were incorrect in C11 as described by
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1886.htm
src/complex/ctanh.c
src/complex/ctanhf.c