Deleted Added
full compact
ieee.3 (84980) ieee.3 (129040)
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.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
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
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.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
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: head/lib/msun/man/ieee.3 84980 2001-10-15 13:34:43Z dd $
33.\" $FreeBSD: head/lib/msun/man/ieee.3 129040 2004-05-07 18:56:31Z stefanf $
34.\"
35.Dd February 25, 1994
36.Dt IEEE 3
37.Os
38.Sh NAME
39.Nm copysign ,
40.Nm copysignf ,
34.\"
35.Dd February 25, 1994
36.Dt IEEE 3
37.Os
38.Sh NAME
39.Nm copysign ,
40.Nm copysignf ,
41.Nm copysignl ,
41.Nm finite ,
42.Nm finitef ,
43.Nm ilogb ,
44.Nm ilogbf ,
45.Nm nextafter ,
46.Nm nextafterf ,
47.Nm remainder ,
48.Nm remainderf ,
49.Nm scalbn ,
50.Nm scalbnf
51.Nd functions for IEEE arithmetic
52.Sh LIBRARY
53.Lb libm
54.Sh SYNOPSIS
55.In math.h
56.Ft double
57.Fn copysign "double x" "double y"
58.Ft float
59.Fn copysignf "float x" "float y"
42.Nm finite ,
43.Nm finitef ,
44.Nm ilogb ,
45.Nm ilogbf ,
46.Nm nextafter ,
47.Nm nextafterf ,
48.Nm remainder ,
49.Nm remainderf ,
50.Nm scalbn ,
51.Nm scalbnf
52.Nd functions for IEEE arithmetic
53.Sh LIBRARY
54.Lb libm
55.Sh SYNOPSIS
56.In math.h
57.Ft double
58.Fn copysign "double x" "double y"
59.Ft float
60.Fn copysignf "float x" "float y"
61.Ft long double
62.Fn copysignl "long double x" "long double y"
60.Ft int
61.Fn finite "double x"
62.Ft int
63.Fn finitef "float x"
64.Ft int
65.Fn ilogb "double x"
66.Ft int
67.Fn ilogbf "float x"

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

76.Ft double
77.Fn scalbn "double x" "int n"
78.Ft float
79.Fn scalbnf "float x" "int n"
80.Sh DESCRIPTION
81These functions are required or recommended by
82.St -ieee754 .
83.Pp
63.Ft int
64.Fn finite "double x"
65.Ft int
66.Fn finitef "float x"
67.Ft int
68.Fn ilogb "double x"
69.Ft int
70.Fn ilogbf "float x"

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

79.Ft double
80.Fn scalbn "double x" "int n"
81.Ft float
82.Fn scalbnf "float x" "int n"
83.Sh DESCRIPTION
84These functions are required or recommended by
85.St -ieee754 .
86.Pp
84.Fn copysign
85and
87.Fn copysign ,
86.Fn copysignf
88.Fn copysignf
89and
90.Fn copysignl
87return
88.Fa x
89with its sign changed to
90.Fa y Ns 's .
91.Pp
92.Fn finite
93and
94.Fn finitef

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

174computed by exponent manipulation.
175.Sh SEE ALSO
176.Xr math 3
177.Sh HISTORY
178The
179.Nm ieee
180functions appeared in
181.Bx 4.3 .
91return
92.Fa x
93with its sign changed to
94.Fa y Ns 's .
95.Pp
96.Fn finite
97and
98.Fn finitef

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

178computed by exponent manipulation.
179.Sh SEE ALSO
180.Xr math 3
181.Sh HISTORY
182The
183.Nm ieee
184functions appeared in
185.Bx 4.3 .
186The
187.Fn copysignl
188function first appeared in
189.Fx 5.3 .
182.Sh STANDARDS
183.St -ieee754
190.Sh STANDARDS
191.St -ieee754