OSDN Git Service

LDP: Update draft based on the previous commit
[linuxjm/jm.git] / manual / LDP_man-pages / draft / 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 .\" %%%LICENSE_START(VERBATIM)
6 .\" Permission is granted to make and distribute verbatim copies of this
7 .\" manual provided the copyright notice and this permission notice are
8 .\" preserved on all copies.
9 .\"
10 .\" Permission is granted to copy and distribute modified versions of this
11 .\" manual under the conditions for verbatim copying, provided that the
12 .\" entire resulting derived work is distributed under the terms of a
13 .\" permission notice identical to this one.
14 .\"
15 .\" Since the Linux kernel and libraries are constantly changing, this
16 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
17 .\" responsibility for errors or omissions, or for damages resulting from
18 .\" the use of the information contained herein.  The author(s) may not
19 .\" have taken the same level of care in the production of this manual,
20 .\" which is licensed free of charge, as they might when working
21 .\" professionally.
22 .\"
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" %%%LICENSE_END
26 .\"
27 .\" References consulted:
28 .\"     Linux libc source code
29 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
30 .\"     386BSD man pages
31 .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
32 .\" Modified 2002-07-27 by Walter Harms
33 .\"     (walter.harms@informatik.uni-oldenburg.de)
34 .\"
35 .\"*******************************************************************
36 .\"
37 .\" This file was generated with po4a. Translate the source file.
38 .\"
39 .\"*******************************************************************
40 .\"
41 .\" Japanese Version Copyright (c) 1996 Kenji Kajiwara and Kentaro Ogawa
42 .\"         all rights reserved.
43 .\" Translated Sat, 13 Jul 1996 17:54:30 JST
44 .\"         by Kenji Kajiwara and Kentaro Ogawa
45 .\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
46 .\"
47 .TH TANH 3 2017\-09\-15 "" "Linux Programmer's Manual"
48 .SH 名前
49 tanh, tanhf, tanhl \- 双曲線正接 (hyperbolic tangent) 関数
50 .SH 書式
51 .nf
52 \fB#include <math.h>\fP
53 .PP
54 \fBdouble tanh(double \fP\fIx\fP\fB);\fP
55 \fBfloat tanhf(float \fP\fIx\fP\fB);\fP
56 \fBlong double tanhl(long double \fP\fIx\fP\fB);\fP
57 .fi
58 .PP
59 \fI\-lm\fP でリンクする。
60 .PP
61 .RS -4
62 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
63 .RE
64 .PP
65 .ad l
66 \fBtanhf\fP(), \fBtanhl\fP():
67 .RS 4
68 _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
69     || /* Since glibc 2.19: */ _DEFAULT_SOURCE
70     || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
71 .RE
72 .ad
73 .SH 説明
74 These functions return the hyperbolic tangent of \fIx\fP, which is defined
75 mathematically as:
76 .PP
77 .nf
78     tanh(x) = sinh(x) / cosh(x)
79 .fi
80 .SH 返り値
81 成功すると、これらの関数は \fIx\fP の双曲線正接を返す。
82 .PP
83 \fIx\fP が NaN の場合、NaN が返される。
84 .PP
85 \fIx\fP が +0 (\-0) の場合、+0 (\-0) が返される。
86 .PP
87 .\"
88 .\" POSIX.1-2001 documents an optional range error (underflow)
89 .\" for subnormal x;
90 .\" glibc 2.8 does not do this.
91 \fIx\fP が正の無限大 (負の無限大) の場合、+1 (\-1) が返される。
92 .SH エラー
93 エラーは発生しない。
94 .SH 属性
95 この節で使用されている用語の説明については、 \fBattributes\fP(7) を参照。
96 .TS
97 allbox;
98 lbw24 lb lb
99 l l l.
100 インターフェース        属性  値
101 T{
102 \fBtanh\fP(),
103 \fBtanhf\fP(),
104 \fBtanhl\fP()
105 T}      Thread safety   MT\-Safe
106 .TE
107 .SH 準拠
108 C99, POSIX.1\-2001, POSIX.1\-2008.
109 .PP
110 The variant returning \fIdouble\fP also conforms to SVr4, 4.3BSD, C89.
111 .SH 関連項目
112 \fBacosh\fP(3), \fBasinh\fP(3), \fBatanh\fP(3), \fBcosh\fP(3), \fBctanh\fP(3), \fBsinh\fP(3)
113 .SH この文書について
114 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ報告に関する情報は
115 \%https://www.kernel.org/doc/man\-pages/ に書かれている。