OpenLIBM: Replace complex ACOSH functions
authorJohn Marino <draco@marino.st>
Thu, 16 Jul 2015 13:22:17 +0000 (15:22 +0200)
committerJohn Marino <draco@marino.st>
Thu, 16 Jul 2015 13:29:12 +0000 (15:29 +0200)
commit9a1d06887ef660a8ac70c238d06c4c5e4e7363ee
treed0860a32e0fbcff3d235b8dde750e68a409badc7
parent3d99825ec30c2f7b7581183a710fe474650d202e
OpenLIBM: Replace complex ACOSH functions

The regression tests revealed a bug in the OpenBSD complex COSH
function implementation.  The FreeBSD implementation has been brought in,
at least temporarily, to address the regression.

It is likely that the ASINH functions are deficient with the edge cases
as well, but they've been left alone for now.  The OpenBSD complex
functions implementation probably needs to be reviewed and reworked based
on my review of the OpenSolaris libm and FreeBSD msun implementations
contrib/openbsd_libm/include/global/complex.h
contrib/openbsd_libm/src/s_cacosh.c
contrib/openbsd_libm/src/s_cacoshf.c
contrib/openbsd_libm/src/s_cacoshl.c