OSDN Git Service

94025bd81547124d1ad9fbfaa838c4eafe1bc0ab
[linuxjm/LDP_man-pages.git] / release / man3 / sinh.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 1996-06-08 by aeb
33 .\" Modified 2002-07-27 by Walter Harms
34 .\"     (walter.harms@informatik.uni-oldenburg.de)
35 .\"
36 .\"*******************************************************************
37 .\"
38 .\" This file was generated with po4a. Translate the source file.
39 .\"
40 .\"*******************************************************************
41 .TH SINH 3 2010\-09\-20 "" "Linux Programmer's Manual"
42 .SH 名前
43 sinh, sinhf, sinhl \- 双曲線正弦 (ハイパボリックサイン) 関数
44 .SH 書式
45 .nf
46 \fB#include <math.h>\fP
47 .sp
48 \fBdouble sinh(double \fP\fIx\fP\fB);\fP
49 .br
50 \fBfloat sinhf(float \fP\fIx\fP\fB);\fP
51 .br
52 \fBlong double sinhl(long double \fP\fIx\fP\fB);\fP
53 .fi
54 .sp
55 \fI\-lm\fP でリンクする。
56 .sp
57 .in -4n
58 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
59 .in
60 .sp
61 .ad l
62 \fBsinhf\fP(), \fBsinhl\fP():
63 .RS 4
64 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
65 || _POSIX_C_SOURCE\ >=\ 200112L;
66 .br
67 or \fIcc\ \-std=c99\fP
68 .RE
69 .ad
70 .SH 説明
71 \fBsinh\fP()  関数は双曲線正弦 (ハイパボリックサイン) 関数の値を返す。 数学的には以下のように定義されている。
72 .nf
73
74     sinh(x) = (exp(x) \- exp(\-x)) / 2
75 .fi
76 .SH 返り値
77 成功すると、これらの関数は \fIx\fP の双曲線正弦を返す。
78
79 \fIx\fP が NaN の場合、NaN が返される。
80
81 \fIx\fP が +0 (\-0) の場合、+0 (\-0) が返される。
82
83 \fIx\fP が正の無限大 (負の無限大) の場合、正の無限大 (負の無限大) が返される。
84
85 .\"
86 .\" POSIX.1-2001 documents an optional range error (underflow)
87 .\" for subnormal x;
88 .\" glibc 2.8 does not do this.
89 結果がオーバーフローする場合、 範囲エラー (range error) が発生し、 各関数はそれぞれ \fBHUGE_VAL\fP,
90 \fBHUGE_VALF\fP, \fBHUGE_VALL\fP を返す。符号は \fIx\fP と同じになる。
91 .SH エラー
92 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は \fBmath_error\fP(7)  を参照のこと。
93 .PP
94 以下のエラーが発生する可能性がある。
95 .TP 
96 範囲エラー (range error): 結果のオーバーフロー
97 \fIerrno\fP に \fBERANGE\fP が設定される。 オーバーフロー浮動小数点例外 (\fBFE_OVERFLOW\fP)  が上がる。
98 .SH 準拠
99 C99, POSIX.1\-2001.  \fIdouble\fP 版の関数は SVr4, 4.3BSD, C89 にも準拠している。
100 .SH 関連項目
101 \fBacosh\fP(3), \fBasinh\fP(3), \fBatanh\fP(3), \fBcosh\fP(3), \fBcsinh\fP(3), \fBtanh\fP(3)
102 .SH この文書について
103 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
104 である。プロジェクトの説明とバグ報告に関する情報は
105 http://www.kernel.org/doc/man\-pages/ に書かれている。