git: OpenLIBM: Replace complex ACOSH functions

John Marino marino at
Thu Jul 16 06:29:23 PDT 2015

commit 9a1d06887ef660a8ac70c238d06c4c5e4e7363ee
Author: John Marino <draco at>
Date:   Thu Jul 16 15:22:17 2015 +0200

    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

Summary of changes:
 contrib/openbsd_libm/include/global/complex.h | 12 ++++++++++++
 contrib/openbsd_libm/src/s_cacosh.c           | 16 ++++++++++++++--
 contrib/openbsd_libm/src/s_cacoshf.c          | 13 +++++++++++--
 contrib/openbsd_libm/src/s_cacoshl.c          | 13 +++++++++++--
 4 files changed, 48 insertions(+), 6 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list