Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libm/complex

Module Name:    src
Committed By:   drochner
Date:           Mon Aug  3 19:41:32 UTC 2009

Modified Files:
        src/lib/libm/complex: cacosh.c cacoshf.c

Log Message:
As noticed by Stathis Kamperis, the original implementation does not
always return the correct principal value (with real>=0).
(eg cacosh(ccos(1.0I)) was -1)
Replace by a more ground-up one which should do better.

To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libm/complex/cacosh.c \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index