Deleted Added
full compact
exp.3 (238722) exp.3 (251343)
1.\" Copyright (c) 1985, 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 12 unchanged lines hidden (view full) ---

21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91
1.\" Copyright (c) 1985, 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 12 unchanged lines hidden (view full) ---

21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91
29.\" $FreeBSD: head/lib/msun/man/exp.3 238722 2012-07-23 19:13:55Z kargl $
29.\" $FreeBSD: head/lib/msun/man/exp.3 251343 2013-06-03 19:51:32Z kargl $
30.\"
30.\"
31.Dd July 10, 2012
31.Dd June 3, 2013
32.Dt EXP 3
33.Os
34.Sh NAME
35.Nm exp ,
36.Nm expf ,
37.Nm expl ,
38.\" The sorting error is intentional. exp, expf, and expl should be adjacent.
39.Nm exp2 ,
40.Nm exp2f ,
41.Nm exp2l ,
42.Nm expm1 ,
43.Nm expm1f ,
32.Dt EXP 3
33.Os
34.Sh NAME
35.Nm exp ,
36.Nm expf ,
37.Nm expl ,
38.\" The sorting error is intentional. exp, expf, and expl should be adjacent.
39.Nm exp2 ,
40.Nm exp2f ,
41.Nm exp2l ,
42.Nm expm1 ,
43.Nm expm1f ,
44.Nm expm1l ,
44.Nm pow ,
45.Nm powf
46.Nd exponential and power functions
47.Sh LIBRARY
48.Lb libm
49.Sh SYNOPSIS
50.In math.h
51.Ft double

--- 7 unchanged lines hidden (view full) ---

59.Ft float
60.Fn exp2f "float x"
61.Ft long double
62.Fn exp2l "long double x"
63.Ft double
64.Fn expm1 "double x"
65.Ft float
66.Fn expm1f "float x"
45.Nm pow ,
46.Nm powf
47.Nd exponential and power functions
48.Sh LIBRARY
49.Lb libm
50.Sh SYNOPSIS
51.In math.h
52.Ft double

--- 7 unchanged lines hidden (view full) ---

60.Ft float
61.Fn exp2f "float x"
62.Ft long double
63.Fn exp2l "long double x"
64.Ft double
65.Fn expm1 "double x"
66.Ft float
67.Fn expm1f "float x"
68.Ft long double
69.Fn expm1l "long double x"
67.Ft double
68.Fn pow "double x" "double y"
69.Ft float
70.Fn powf "float x" "float y"
71.Sh DESCRIPTION
72The
73.Fn exp ,
74.Fn expf ,

--- 8 unchanged lines hidden (view full) ---

83.Fn exp2 ,
84.Fn exp2f ,
85and
86.Fn exp2l
87functions compute the base 2 exponential of the given argument
88.Fa x .
89.Pp
90The
70.Ft double
71.Fn pow "double x" "double y"
72.Ft float
73.Fn powf "float x" "float y"
74.Sh DESCRIPTION
75The
76.Fn exp ,
77.Fn expf ,

--- 8 unchanged lines hidden (view full) ---

86.Fn exp2 ,
87.Fn exp2f ,
88and
89.Fn exp2l
90functions compute the base 2 exponential of the given argument
91.Fa x .
92.Pp
93The
91.Fn expm1
94.Fn expm1 ,
95.Fn expm1f ,
92and the
96and the
93.Fn expm1f
97.Fn expm1l
94functions compute the value exp(x)\-1 accurately even for tiny argument
95.Fa x .
96.Pp
97The
98.Fn pow
99and the
100.Fn powf
101functions compute the value

--- 80 unchanged lines hidden ---
98functions compute the value exp(x)\-1 accurately even for tiny argument
99.Fa x .
100.Pp
101The
102.Fn pow
103and the
104.Fn powf
105functions compute the value

--- 80 unchanged lines hidden ---