diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-06-12 22:43:37 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-06-12 22:43:37 +0000 |
commit | f6a3bcfb9f4f2503211521e9e050cbad259b5f11 (patch) | |
tree | 61e44cf88a3e5fbebfe1c9bdc9d94280c5a10036 /lib/libm/noieee_src/n_atanh.c | |
parent | 69037fa1d73cf6dd6b62ce497d9619816ba29a2b (diff) |
spacing, add rcs ids, no binary change
Diffstat (limited to 'lib/libm/noieee_src/n_atanh.c')
-rw-r--r-- | lib/libm/noieee_src/n_atanh.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libm/noieee_src/n_atanh.c b/lib/libm/noieee_src/n_atanh.c index f5dd6e327d5..ad4dc4a668d 100644 --- a/lib/libm/noieee_src/n_atanh.c +++ b/lib/libm/noieee_src/n_atanh.c @@ -1,4 +1,5 @@ -/* $NetBSD: n_atanh.c,v 1.1 1995/10/10 23:36:38 ragge Exp $ */ +/* $OpenBSD: n_atanh.c,v 1.5 2008/06/12 22:43:36 martynas Exp $ */ +/* $NetBSD: n_atanh.c,v 1.1 1995/10/10 23:36:38 ragge Exp $ */ /* * Copyright (c) 1985, 1993 * The Regents of the University of California. All rights reserved. @@ -35,14 +36,14 @@ static char sccsid[] = "@(#)atanh.c 8.1 (Berkeley) 6/4/93"; /* ATANH(X) * RETURN THE HYPERBOLIC ARC TANGENT OF X * DOUBLE PRECISION (VAX D format 56 bits, IEEE DOUBLE 53 BITS) - * CODED IN C BY K.C. NG, 1/8/85; + * CODED IN C BY K.C. NG, 1/8/85; * REVISED BY K.C. NG on 2/7/85, 3/7/85, 8/18/85. * * Required kernel function: * log1p(x) ...return log(1+x) * - * Method : - * Return + * Method: + * Return * 1 2x x * atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------) * 2 1 - x 1 - x |