Commit Graph

99 Commits

Author SHA1 Message Date
das
472ff4fcb7 Add round(3) and roundf(3) and the associated documentation.
PR:		59797
Submitted by:	"Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
Reviewed by:	bde (earlier version, last year)
2004-06-07 08:05:36 +00:00
das
7d5e9b9de5 Add documentation for:
- fenv(3)
- feclearexcept(3), fegetexceptflag(3), feraiseexcept(3),
  fesetexceptflag(3), fetestexcept(3)
- fegetround(3), fesetround(3)
- fegetenv(3), feholdexcept(3), fesetenv(3), feupdateenv(3)

Reviewed by:	standards@
2004-06-06 10:06:26 +00:00
stefanf
a723c78d1f Add an implementation of copysignl(), a long double version of copysign().
Approved by:	das (mentor)
2004-05-07 18:56:31 +00:00
stefanf
599524133f The prototypes for cabs() and cabsf() are in <complex.h>. Fix their arguments'
types and describe them briefly.

Reviewed by:	ru, bde
Approved by:	das (mentor)
2004-05-06 13:11:18 +00:00
des
641c51e6a2 Document fabsl(3).
Submitted by:	Stefan Farfeleder <stefan@fafoe.narf.at>
2003-10-25 13:45:11 +00:00
ru
8a3a8c8e68 mdoc(7) police: Nits. 2003-03-02 21:04:21 +00:00
imp
b3a39bc5da - gamma_r, lgamma_r, gammaf_r, and lgammaf_r were protected by _REENTRANT
in math.h; the consensus here was that __BSD_VISIBLE was correct instead.

- gamma_r, lgamma_r, gammaf_r, and lgammaf_r had no documentation in the
  lgamma(3) manpage.

Reviewed by: standards@
Submitted by: Ben Mesander
2003-02-26 13:12:03 +00:00
schweikh
2505bee728 english(4) police. 2002-12-27 12:15:40 +00:00
bde
c4bb273fdd Resurrect Lite1's gamma() as C99's tgamma(). Minimal changes. 2002-03-26 11:59:29 +00:00
bde
cde9f012b2 Fixed some bugs in the description of plain gamma() (and gammaf()).
Give a more detailed and correct history of when gamma() was actually
the gamma function.
2002-03-26 10:18:20 +00:00
ru
1ce1f01831 Grammar nit. 2001-11-21 09:25:14 +00:00
ru
ec2f37f6bd mdoc(7) police: fixed bugs from rev. 1.15. 2001-11-20 16:40:04 +00:00
dwmalone
2c3150b2bd gamma(x) actually returns \log(|\Gamma(x)|), so correct the man
page and add an historical note explaining this. This patch is
based on Stephen's.

We still need someone to implement tgamma.

PR:		28972, 31764
Submitted by:	Stephen Montgomery-Smith <stephen@math.missouri.edu>
2001-11-05 10:10:33 +00:00
dd
02eab8be79 Match parenthesis and don't give names to return values.
PR:		31214
2001-10-15 13:34:43 +00:00
bde
751cb42584 Fixed missing quoting of >= (in ceil.3) and <= (in floor.3) by reverting to
describing these operators in English.  This completes the fix in rev.1.3
(rev.1.2 got this wrong by describing wrong operators in English).

Fixed bitrot and improved English in the DESCRIPTION section.
2001-10-13 13:57:32 +00:00
bde
4b3bfd5932 Fixed missing quoting of [-1, +1].
Submitted by:	phantom
2001-10-13 12:29:25 +00:00
bde
50e729b1f0 Use ".Lb libm" where it will have an effect (not just in the zombie man
pages in libm).

Submitted by:	phantom
2001-10-13 12:23:23 +00:00
bde
165444d3d1 Removed .Nm's for the nonexistent functions exp2() and exp2f(). 2001-10-03 06:25:55 +00:00
ru
727c2b4b9e mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ru
3b72217422 mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
yar
c76eb52dd4 Tiny markup fix: `to' isn't a variable 2001-08-09 11:16:12 +00:00
dd
c49a4e6620 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ru
940dc0c680 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 13:41:46 +00:00
ru
1db489053b mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
ru
f2ef0fa6fe .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
ru
74ecc06fa7 mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged.  With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
ru
b1c3961564 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ru
fb54000812 Prepare for mdoc(7)NG. 2000-12-29 14:08:20 +00:00
ru
d321795841 mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:15:20 +00:00
ru
69062dd641 mdoc(7) police: Er macro usage cleanup. 2000-11-22 16:02:00 +00:00
ru
f74abe8881 mdoc(7) police: Nm -> Fn where appropriate. 2000-11-20 14:11:46 +00:00
sheldonh
c0e8952a50 Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
sheldonh
0bd4857cef Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
phantom
231f0c06b8 style fix
PR:		docs/14737
Submitted by:	Norihiro Kumagai <kuma@nk.rim.or.jp>
1999-11-09 00:18:22 +00:00
peter
e226894fa0 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
jlemon
3f976fc173 Document the fpgetprec/fpsetprec functions in their man page.
Add cross-references to the elusive fpsetmask() function to various other
man pages.
Reviewed by:	bde
1998-02-04 22:30:20 +00:00
danny
721d9998e8 PR: 5489
Submitted by:	Steve G. Kargl <kargl@troutmask.apl.washington.edu>
Repair corrupted text.
1998-01-15 23:28:18 +00:00
bde
50c1a7cdeb Fixed minor bugs related to the addition of gammaf.
The major bug, that gamma is documented as really being gamma, is
still unfixed.
1997-07-13 14:45:28 +00:00
bde
bcb54d94a0 Fixed synopsis. Some float functions claimed to have the same name as
the double version.
1997-03-19 01:28:44 +00:00
peter
3447762204 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
wosch
2adeb3569f Sort cross references. 1997-01-20 23:23:22 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wosch
15e449c60d comma typos 1996-12-23 23:09:55 +00:00
bde
f23e66370f Removed references to nonexistent functions log2() and log2f(). 1996-12-18 17:47:03 +00:00
mpp
3299485f3a Fix up the NAME lines forthe ceil and floor man pages to be
less confusing.

Reviewed by:	bde
Partially obtained from: NetBSD-bugs
1996-08-21 21:23:47 +00:00
mpp
1564b8826e Fixed some minor formatting problems to silence manck some more.
Corrected some bogus cross references to man pages that we don't/won't
have and either deleted them, or found a more appropriate man page
that we do have.  Various other minor changes to silence manck.

Manck is currently down to about 200 lines of errors, down from
the 500 - 600+ when I started all this.
1996-02-12 01:20:38 +00:00
bde
f906ee290a Fixed use of too many args for `.Em'.
Fixed description of domain of y*().
Fixed description of error domain.  (This description is still half
redundant and half wrong, as in many other math man pages.  fdlibm
doesn't support the VAX or Tahoe.)
Fixed capitalization of `Bessel'.
1995-10-22 18:16:39 +00:00
jkh
9e376a1edd Additions from Thomas Graichen to mention each functions' floating point
counterpart.
Submitted by:	Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
1995-03-01 05:06:48 +00:00
jkh
2a8fd4fc31 J.T. Conklin's latest version of the Sun math library.
-- Begin comments from J.T. Conklin:
The most significant improvement is the addition of "float" versions
of the math functions that take float arguments, return floats, and do
all operations in floating point.  This doesn't help (performance)
much on the i386, but they are still nice to have.

The float versions were orginally done by Cygnus' Ian Taylor when
fdlibm was integrated into the libm we support for embedded systems.
I gave Ian a copy of my libm as a starting point since I had already
fixed a lot of bugs & problems in Sun's original code.  After he was
done, I cleaned it up a bit and integrated the changes back into my
libm.
-- End comments

Reviewed by:	jkh
Submitted by:	jtc
1994-08-19 09:40:01 +00:00