OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / man3 / tanh.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
3 .\"     <mtk.manpages@gmail.com>
4 .\"
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\"
25 .\" References consulted:
26 .\"     Linux libc source code
27 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
28 .\"     386BSD man pages
29 .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
30 .\" Modified 2002-07-27 by Walter Harms
31 .\"     (walter.harms@informatik.uni-oldenburg.de)
32 .\"
33 .\"*******************************************************************
34 .\"
35 .\" This file was generated with po4a. Translate the source file.
36 .\"
37 .\"*******************************************************************
38 .TH TANH 3 2010\-09\-20 "" "Linux Programmer's Manual"
39 .SH 名前
40 tanh, tanhf, tanhl \- 双曲線正接 (hyperbolic tangent) 関数
41 .SH 書式
42 .nf
43 \fB#include <math.h>\fP
44 .sp
45 \fBdouble tanh(double \fP\fIx\fP\fB);\fP
46 .br
47 \fBfloat tanhf(float \fP\fIx\fP\fB);\fP
48 .br
49 \fBlong double tanhl(long double \fP\fIx\fP\fB);\fP
50 .fi
51 .sp
52 \fI\-lm\fP でリンクする。
53 .sp
54 .in -4n
55 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
56 .in
57 .sp
58 .ad l
59 \fBtanhf\fP(), \fBtanhl\fP():
60 .RS 4
61 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
62 || _POSIX_C_SOURCE\ >=\ 200112L;
63 .br
64 or \fIcc\ \-std=c99\fP
65 .RE
66 .ad
67 .SH 説明
68 \fBtanh\fP()  関数は \fIx\fP の双曲線正接 (hyperbolic tangent) 関数を返す。 数学的には以下のように定義されている.
69 .nf
70
71     tanh(x) = sinh(x) / cosh(x)
72 .fi
73 .SH 返り値
74 成功すると、これらの関数は \fIx\fP の双曲線正接を返す。
75
76 \fIx\fP が NaN の場合、NaN が返される。
77
78 \fIx\fP が +0 (\-0) の場合、+0 (\-0) が返される。
79
80 .\"
81 .\" POSIX.1-2001 documents an optional range error (underflow)
82 .\" for subnormal x;
83 .\" glibc 2.8 does not do this.
84 \fIx\fP が正の無限大 (負の無限大) の場合、+1 (\-1) が返される。
85 .SH エラー
86 エラーは発生しない。
87 .SH 準拠
88 C99, POSIX.1\-2001.  \fIdouble\fP 版の関数は SVr4, 4.3BSD, C89 にも準拠している。
89 .SH 関連項目
90 \fBacosh\fP(3), \fBasinh\fP(3), \fBatanh\fP(3), \fBcosh\fP(3), \fBctanh\fP(3), \fBsinh\fP(3)