xref: /dragonfly/contrib/openbsd_libm/man/sinh.3 (revision 267c04fd)
1.\"	$OpenBSD: sinh.3,v 1.15 2013/07/17 05:42:11 schwarze Exp $
2.\" Copyright (c) 1991 The Regents of the University of California.
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\" 3. Neither the name of the University nor the names of its contributors
14.\"    may be used to endorse or promote products derived from this software
15.\"    without specific prior written permission.
16.\"
17.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
29.\"	from: @(#)sinh.3	6.6 (Berkeley) 4/19/91
30.Dd $Mdocdate: July 17 2013 $
31.Dt SINH 3
32.Os
33.Sh NAME
34.Nm sinh ,
35.Nm sinhf ,
36.Nm sinhl
37.Nd hyperbolic sine functions
38.Sh SYNOPSIS
39.In math.h
40.Ft double
41.Fn sinh "double x"
42.Ft float
43.Fn sinhf "float x"
44.Ft long double
45.Fn sinhl "long double x"
46.Sh DESCRIPTION
47The
48.Fn sinh
49function computes the hyperbolic sine of
50.Fa x .
51The
52.Fn sinhf
53function is a single precision version of
54.Fn sinh .
55The
56.Fn sinhl
57function is an extended precision version of
58.Fn sinh .
59.Sh RETURN VALUES
60The
61.Fn sinh ,
62.Fn sinhf
63and
64.Fn sinhl
65functions return the hyperbolic sine value unless
66the magnitude
67of
68.Fa x
69is too large; in this event, the global variable
70.Va errno
71is set to
72.Er ERANGE .
73.Sh SEE ALSO
74.Xr acos 3 ,
75.Xr asin 3 ,
76.Xr atan 3 ,
77.Xr atan2 3 ,
78.Xr cos 3 ,
79.Xr cosh 3 ,
80.Xr sin 3 ,
81.Xr tan 3 ,
82.Xr tanh 3
83.Sh STANDARDS
84The
85.Fn sinh
86function conforms to
87.St -ansiC .
88.Sh HISTORY
89The
90.Fn sinh
91function first appeared in
92.At v7 .
93