math.3 (7a15a32a17f4c2cbeb6f842c4c6b1cf93e4639e7) math.3 (4bd9ba3c2f425abd45da4df1361501118d8d6663)
1.\" Copyright (c) 1985 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: @(#)math.3 6.10 (Berkeley) 5/6/91
1.\" Copyright (c) 1985 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: @(#)math.3 6.10 (Berkeley) 5/6/91
33.\" $Id: math.3,v 1.1.1.1 1994/08/19 09:39:42 jkh Exp $
33.\" $Id: math.3,v 1.2 1995/03/01 05:06:27 jkh Exp $
34.\"
35.TH MATH 3M "May 6, 1991"
36.UC 4
37.ds up \fIulp\fR
38.ds nn \fINaN\fR
39.de If
40.if n \\
41\\$1Infinity\\$2

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

77erf erf.3m error function ???
78erfc erf.3m complementary error function ???
79exp exp.3m exponential 1
80expm1 exp.3m exp(x)\-1 1
81fabs floor.3m absolute value 0
82floor floor.3m integer no greater than 0
83hypot hypot.3m Euclidean distance 1
84ilogb ieee.3m exponent extraction 0
34.\"
35.TH MATH 3M "May 6, 1991"
36.UC 4
37.ds up \fIulp\fR
38.ds nn \fINaN\fR
39.de If
40.if n \\
41\\$1Infinity\\$2

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

77erf erf.3m error function ???
78erfc erf.3m complementary error function ???
79exp exp.3m exponential 1
80expm1 exp.3m exp(x)\-1 1
81fabs floor.3m absolute value 0
82floor floor.3m integer no greater than 0
83hypot hypot.3m Euclidean distance 1
84ilogb ieee.3m exponent extraction 0
85infnan infnan.3m signals exceptions
86j0 j0.3m bessel function ???
87j1 j0.3m bessel function ???
88jn j0.3m bessel function ???
89lgamma lgamma.3m log gamma function; (formerly gamma.3m)
90log exp.3m natural logarithm 1
91log10 exp.3m logarithm to base 10 3
92log1p exp.3m log(1+x) 1
93pow exp.3m exponential x**y 60\-500

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

239they all produce reserved operands and/or stop computation!
240The situation is described in more detail in manual pages.
241.RS
242.ll -0.5i
243\fIThis response seems excessively punitive, so it is destined
244to be replaced at some time in the foreseeable future by a
245more flexible but still uniform scheme being developed to
246handle all floating\-point arithmetic exceptions neatly.
85j0 j0.3m bessel function ???
86j1 j0.3m bessel function ???
87jn j0.3m bessel function ???
88lgamma lgamma.3m log gamma function; (formerly gamma.3m)
89log exp.3m natural logarithm 1
90log10 exp.3m logarithm to base 10 3
91log1p exp.3m log(1+x) 1
92pow exp.3m exponential x**y 60\-500

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

238they all produce reserved operands and/or stop computation!
239The situation is described in more detail in manual pages.
240.RS
241.ll -0.5i
242\fIThis response seems excessively punitive, so it is destined
243to be replaced at some time in the foreseeable future by a
244more flexible but still uniform scheme being developed to
245handle all floating\-point arithmetic exceptions neatly.
247See infnan(3M) for the present state of affairs.\fR
246.\" See infnan(3M) for the present state of affairs.\fR
248.ll +0.5i
249.RE
250.PP
251How do the functions in 4.3 BSD's new \fIlibm\fR for UNIX
252compare with their counterparts in DEC's VAX/VMS library?
253Some of the VMS functions are a little faster, some are
254a little more accurate, some are more puritanical about
255exceptions (like pow(0.0,0.0) and atan2(0.0,0.0)),

--- 381 unchanged lines hidden ---
247.ll +0.5i
248.RE
249.PP
250How do the functions in 4.3 BSD's new \fIlibm\fR for UNIX
251compare with their counterparts in DEC's VAX/VMS library?
252Some of the VMS functions are a little faster, some are
253a little more accurate, some are more puritanical about
254exceptions (like pow(0.0,0.0) and atan2(0.0,0.0)),

--- 381 unchanged lines hidden ---