Deleted Added
full compact
exp.3 (175461) exp.3 (238722)
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 175461 2008-01-18 21:43:00Z das $
29.\" $FreeBSD: head/lib/msun/man/exp.3 238722 2012-07-23 19:13:55Z kargl $
30.\"
30.\"
31.Dd January 17, 2008
31.Dd July 10, 2012
32.Dt EXP 3
33.Os
34.Sh NAME
35.Nm exp ,
36.Nm expf ,
32.Dt EXP 3
33.Os
34.Sh NAME
35.Nm exp ,
36.Nm expf ,
37.\" The sorting error is intentional. exp and expf should be adjacent.
37.Nm expl ,
38.\" The sorting error is intentional. exp, expf, and expl should be adjacent.
38.Nm exp2 ,
39.Nm exp2f ,
40.Nm exp2l ,
41.Nm expm1 ,
42.Nm expm1f ,
43.Nm pow ,
44.Nm powf
45.Nd exponential and power functions
46.Sh LIBRARY
47.Lb libm
48.Sh SYNOPSIS
49.In math.h
50.Ft double
51.Fn exp "double x"
52.Ft float
53.Fn expf "float x"
39.Nm exp2 ,
40.Nm exp2f ,
41.Nm exp2l ,
42.Nm expm1 ,
43.Nm expm1f ,
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
52.Fn exp "double x"
53.Ft float
54.Fn expf "float x"
55.Ft long double
56.Fn expl "long double x"
54.Ft double
55.Fn exp2 "double x"
56.Ft float
57.Fn exp2f "float x"
58.Ft long double
59.Fn exp2l "long double x"
60.Ft double
61.Fn expm1 "double x"
62.Ft float
63.Fn expm1f "float x"
64.Ft double
65.Fn pow "double x" "double y"
66.Ft float
67.Fn powf "float x" "float y"
68.Sh DESCRIPTION
69The
57.Ft double
58.Fn exp2 "double x"
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"
67.Ft double
68.Fn pow "double x" "double y"
69.Ft float
70.Fn powf "float x" "float y"
71.Sh DESCRIPTION
72The
70.Fn exp
71and the
72.Fn expf
73.Fn exp ,
74.Fn expf ,
75and
76.Fn expl
73functions compute the base
74.Ms e
75exponential value of the given argument
76.Fa x .
77.Pp
78The
79.Fn exp2 ,
80.Fn exp2f ,

--- 97 unchanged lines hidden ---
77functions compute the base
78.Ms e
79exponential value of the given argument
80.Fa x .
81.Pp
82The
83.Fn exp2 ,
84.Fn exp2f ,

--- 97 unchanged lines hidden ---