scalbn.3 (29bf6af8904f9833bbc9c0e5f2219f785defe550) scalbn.3 (388bf3b630addc15e6aa774d516241590a662bde)
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.

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

27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
33.\" $FreeBSD$
34.\"
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.

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

27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
33.\" $FreeBSD$
34.\"
35.Dd January 26, 2005
35.Dd March 4, 2005
36.Dt SCALBN 3
37.Os
38.Sh NAME
39.Nm scalbln ,
40.Nm scalblnf ,
36.Dt SCALBN 3
37.Os
38.Sh NAME
39.Nm scalbln ,
40.Nm scalblnf ,
41.Nm scalblnl ,
41.Nm scalbn ,
42.Nm scalbn ,
42.Nm scalbnf
43.Nm scalbnf ,
44.Nm scalbnl
43.Nd adjust exponent
44.Sh LIBRARY
45.Lb libm
46.Sh SYNOPSIS
47.In math.h
48.Ft double
49.Fn scalbln "double x" "long n"
50.Ft float
51.Fn scalblnf "float x" "long n"
45.Nd adjust exponent
46.Sh LIBRARY
47.Lb libm
48.Sh SYNOPSIS
49.In math.h
50.Ft double
51.Fn scalbln "double x" "long n"
52.Ft float
53.Fn scalblnf "float x" "long n"
54.Ft long double
55.Fn scalblnl "long double x" "long n"
52.Ft double
53.Fn scalbn "double x" "int n"
54.Ft float
55.Fn scalbnf "float x" "int n"
56.Ft double
57.Fn scalbn "double x" "int n"
58.Ft float
59.Fn scalbnf "float x" "int n"
60.Ft long double
61.Fn scalbnl "long double x" "int n"
56.Sh DESCRIPTION
62.Sh DESCRIPTION
57.Fn scalbln ,
58.Fn scalblnf ,
59.Fn scalbn ,
60and
61.Fn scalbnf
62return
63These routines return
63.Fa x Ns \(**(2** Ns Fa n )
64computed by exponent manipulation.
65.Sh SEE ALSO
66.Xr ieee 3 ,
67.Xr math 3
68.Sh STANDARDS
69These routines conform to
70.St -isoC-99 ,

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

80and
81.Fx 2.0 ,
82respectively.
83The
84.Fn scalbln
85and
86.Fn scalblnf
87functions first appeared in
64.Fa x Ns \(**(2** Ns Fa n )
65computed by exponent manipulation.
66.Sh SEE ALSO
67.Xr ieee 3 ,
68.Xr math 3
69.Sh STANDARDS
70These routines conform to
71.St -isoC-99 ,

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

81and
82.Fx 2.0 ,
83respectively.
84The
85.Fn scalbln
86and
87.Fn scalblnf
88functions first appeared in
88.Fx 5.3 .
89.Fx 5.3 ,
90and
91.Fn scalblnl
92and
93.Fn scalbln
94in
95.Fx 5.5 .