History log of /freebsd-10.0-release/lib/msun/man/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


251599 10-Jun-2013 das

Add implementations of acoshl(), asinhl(), and atanhl(). This is a
merge of the work done by bde and myself.


251343 03-Jun-2013 kargl

ld80 and ld128 implementations of expm1l(). This code started life
as a fairly faithful implementation of the algorithm found in

PTP Tang, "Table-driven implementation of the Expm1 function
in IEEE floating-point arithmetic," ACM Trans. Math. Soft., 18,
211-222 (1992).

Over the last 18-24 months, the code has under gone significant
optimization and testing.

Reviewed by: bde
Obtained from: bde (most of the optimizations)


251292 03-Jun-2013 das

Add logl, log2l, log10l, and log1pl.

Submitted by: bde


251121 30-May-2013 das

I'm happy to finally commit stephen@'s implementations of cacos,
cacosh, casin, casinh, catan, and catanh. Thanks to stephen@ and bde@
for working on these.

Submitted by: stephen@
Reviewed by: bde


241545 14-Oct-2012 joel

mdoc: avoid nested displays.


240368 11-Sep-2012 joel

Minor mdoc fix.


238722 23-Jul-2012 kargl

Compute the exponential of x for Intel 80-bit format and IEEE 128-bit
format. These implementations are based on

PTP Tang, "Table-driven implementation of the exponential function
in IEEE floating-point arithmetic," ACM Trans. Math. Soft., 15,
144-157 (1989).

PR: standards/152415
Submitted by: kargl
Reviewed by: bde, das
Approved by: das (mentor)


235286 11-May-2012 gjb

General mdoc(7) and typo fixes.

PR: 167734
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days


233992 07-Apr-2012 joel

mdoc: fix column names, indentation, column separation within each row, and
quotation. Also make sure we have the same amount of columns in each row as
the number of columns we specify in the head arguments.

Reviewed by: brueffer


233462 25-Mar-2012 joel

Remove superfluous paragraph macro.


226618 21-Oct-2011 das

Minor corrections and clarifications regarding exceptions.


226460 17-Oct-2011 das

It's no longer accurate to say that math.h "constitute[s] the C math
library," since complex.h, tgmath.h, and fenv.h are also part of the
math library. Replace the outdated sentence with some references to
the other parts.


226458 17-Oct-2011 das

Add c{cos,sin,tan}{,h}{,f} functions. This is joint work with
bde and kargl.


226436 16-Oct-2011 eadler

- change "is is" to "is" or "it is"
- change "the the" to "the"

Approved by: lstewart
Approved by: sahil (mentor)
MFC after: 3 days


219571 12-Mar-2011 kargl

Implement the long double version for the cube root function, cbrtl.
The algorithm uses Newton's iterations with a crude estimate of the
cube root to converge to a result.

Reviewed by: bde
Approved by: das


219366 07-Mar-2011 das

Add cexp() to the complex(3) manpage. Thanks to bde for pointing out
that I missed this.


219359 07-Mar-2011 das

Add cexp() and cexpf().

Reviewed by: bde (earlier version)


218877 20-Feb-2011 murray

Add complex(3) manual page documenting our partial support for C99
complex arithmetic in libm.

Reviewed by: David Schultz <das@FreeBSD.org>
MFC after: 2 weeks


216247 07-Dec-2010 das

Fix various nits in style and comments that were pointed out by bde.
Code changes verified with md5.


216211 05-Dec-2010 das

Add log2() and log2f().


211397 16-Aug-2010 joel

Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
translating these manual pages. Minor corrections by me.

Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>


208935 09-Jun-2010 uqs

mdoc: spell out theta, the Unicode glyph is hard to read for terminal fonts

It is referred to as "theta" later in the document anyway,
so stop being fancy.


208734 02-Jun-2010 uqs

mdoc: spell macros correctly, there's no need for the backslash escape


208594 27-May-2010 uqs

mdoc: Garbage collect unused/unneeded macros


208028 13-May-2010 uqs

mdoc: move remaining sections into consistent order

This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.

Found by: mdocml lint run
Reviewed by: ru


208027 13-May-2010 uqs

mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the
bottom of the manpages and order them consistently.

GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.

Found by: mdocml lint run
Reviewed by: ru


205076 12-Mar-2010 uqs

Fix several typos in macros or macro misusage.

Found by: make manlint
Reviewed by: ru
Approved by: philip (mentor)


181377 07-Aug-2008 das

Implement cproj{,f,l}().


181074 31-Jul-2008 das

Add implementations of acosl(), asinl(), atanl(), atan2l(),
and cargl().

Reviewed by: bde
sparc64 testing resources from: remko


180074 28-Jun-2008 das

Fix a typo in the cosl() prototype.


179882 19-Jun-2008 das

Implement fmodl.
Document fmodl and fix some errors in the fmod manpage.


177766 30-Mar-2008 das

Hook remquol() and remainderl() up to the build.


177761 30-Mar-2008 das

Implement csqrtl().


177759 30-Mar-2008 das

Document hypotl().

Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>


176722 02-Mar-2008 das

Hook up sqrtl() to the build.


176390 18-Feb-2008 das

Document return values better.


176388 18-Feb-2008 das

Add tgammaf() as a simple wrapper around tgamma().


176359 17-Feb-2008 das

Documentation for sinl(), cosl(), and tanl().


175461 18-Jan-2008 das

Introduce a new log(3) manpage and move the relevant functions there.
Document exp2l() in exp(3), and remove the quaint discussion of topics
such as what these functions were called on the HP-71B's variant of
BASIC.


175309 14-Jan-2008 das

Implement rintl(), nearbyintl(), lrintl(), and llrintl().
Thanks to bde@ for feedback and testing of rintl().


174698 17-Dec-2007 das

Add logbl(3) to libm.


174694 17-Dec-2007 das

Document the fact that we have nan(3) now, and make some minor clarifications
in other places.


174684 16-Dec-2007 das

Implement and document nan(), nanf(), and nanl(). This commit
adds two new directories in msun: ld80 and ld128. These are for
long double functions specific to the 80-bit long double format
used on x86-derived architectures, and the 128-bit format used on
sparc64, respectively.


174617 15-Dec-2007 das

Implement and document csqrt(3) and csqrtf(3).


174586 14-Dec-2007 das

Update the standards section, and make a minor clarification about the
return value of sqrt.


174563 12-Dec-2007 das

s/C90/C99/


174562 12-Dec-2007 das

Add a "STANDARDS" section.


174561 12-Dec-2007 das

Implement carg(3) and cargf(3).

Rotting in an old src tree since: March 2005


165906 09-Jan-2007 imp

Remove California Regent's clause 3, per letter


165840 06-Jan-2007 das

Fix a cut-and-paste-o.


165794 05-Jan-2007 das

Remove a note pertaining to the Alpha.


152755 24-Nov-2005 joel

s/5.5/6.0/ in HISTORY section.

Discussed with: ru


152551 17-Nov-2005 ru

-mdoc sweep.


152117 06-Nov-2005 bde

The logb() functions are not just ieee754 "test" functions, but are
standard in C99 and POSIX.1-2001+. They are also not deprecated, since
apart from being standard they can handle special args slightly better
than the ilogb() functions.

Move their documentation to ilogb.3. Try to use consistent and improved
wording for both sets of functions. All of ieee854, C99 and POSIX
have better wording and more details for special args.

Add history for the logb() functions and ilogbl(). Fix history for
ilogb().


151880 30-Oct-2005 bde

Fixed spelling of remquof() in its prototype.


147446 16-Jun-2005 ru

Markup nit.

Approved by: re (blanket)


147445 16-Jun-2005 ru

Fixed compile warning.

Approved by: re (blanket)


147402 15-Jun-2005 ru

Assorted markup fixes.

Approved by: re


145170 16-Apr-2005 das

Implement truncl() based on floorl().


144772 08-Apr-2005 das

Add roundl(), lroundl(), and llroundl().


144649 05-Apr-2005 das

Document exp2() and exp2f(), and make other minor tweaks and updates.


144091 25-Mar-2005 das

Implement and document remquo() and remquof().


143709 16-Mar-2005 das

Document feenableexcept(), fedisableexcept(), and fegetexcept().


143708 16-Mar-2005 das

Replace fegetmask() and fesetmask() with feenableexcept(),
fedisableexcept(), and fegetexcept(). These two sets of routines
provide the same functionality. I implemented the former as an
undocumented internal interface to make the regression test easier to
write. However, fe(enable|disable|get)except() is already part of
glibc, and I would like to avoid gratuitous differences. The only
major flaw in the glibc API is that there's no good way to report
errors on processors that don't support all the unmasked exceptions.


143227 07-Mar-2005 das

Document scalbnl and scalblnl.


143226 07-Mar-2005 das

Document nextafterl and nexttoward{,f,l}.


143225 07-Mar-2005 das

Add nexttoward to the list of implemented functions, and explicitly
list the four that are still missing.


143224 07-Mar-2005 das

Document fmal.


143181 06-Mar-2005 das

Fix a mistake in the exponent range.


142558 26-Feb-2005 das

Un-document the non-extant exp10() and exp10f() functions.
exp10() was a casualty of the transition away from the VAX.


140949 28-Jan-2005 ru

Typo.


140948 28-Jan-2005 ru

Properly terminate sentence.


140890 27-Jan-2005 das

- Move the functions presently described in in ieee(3) to their own
manpages. They are not very related, so separating them makes it
easier to add meaningful cross-references and extend some of the
descriptions.
- Move the part of math(3) that discusses IEEE 754 to the ieee(3)
manpage.


140681 23-Jan-2005 das

Many changes, including the following major ones:
- Rearrange the list of functions into categories.
- Remove the ulps column. It was appropriate for only some
of the functions in the list, and correct for even fewer
of them.
- Add some new paragraphs, and remove some old ones about
NaNs that may do more harm than good.
- Document precisions other than double-precision.


140609 22-Jan-2005 das

Add fma() and fmaf(), which implement a fused multiply-add operation.


140505 20-Jan-2005 ru

Sort sections.


140355 16-Jan-2005 ru

Use the \*(If string provided by mdoc(7), to represent infinity.


140354 16-Jan-2005 ru

Removed redundant .br call.


140269 14-Jan-2005 das

Remove numerous references to VAX floating-point and the setting of
errno, replacing them with a discussion of IEEE exceptions where
appropriate. Cross-reference fenv(3) whenever exceptions are
mentioned.


140225 14-Jan-2005 ru

Tiny markup nits.


140200 13-Jan-2005 stefanf

Fixed too many of "the", and enclose multi-word argument in double quotes.

Obtained from: ru


140177 13-Jan-2005 ru

Markup nits.


140174 13-Jan-2005 ru

Fixed too many of "the", and enclose multi-word argument in double quotes.


140172 13-Jan-2005 stefanf

Implement and document ceill().


140171 13-Jan-2005 stefanf

Bump .Dd for the last commit.


140143 12-Jan-2005 stefanf

Hook up and document floorl().


140087 11-Jan-2005 das

Document [l]lrint[f]() and [l]lround[f]().


140081 11-Jan-2005 ru

Scheduled mdoc(7) sweep.


140079 11-Jan-2005 ru

Sanitize the markup, as prompted.


136395 11-Oct-2004 das

More updates for math(3):
- Make some minor rearrangements in the introduction.
- Mention the problem with argument reduction on i386.
- Add recently-implemented functions to the table.
- Un-document the error bounds that only apply to the old 4BSD math
library, and fill in the correct values where I know them. No
attempt has been made to document bounds lower than 1 ulp, although
smaller bounds are usually achievable in round-to-nearest mode.


136385 11-Oct-2004 stefanf

Add and document ilogbl(), a long double version of ilogb().


133289 07-Aug-2004 stefanf

Add man pages for the cimag(), conj() and creal() functions.


132382 19-Jul-2004 das

Fix two bugs in the signbit() macro, which was implemented last year:

- It was added to libc instead of libm. Hopefully no programs rely
on this mistake.

- It didn't work properly on large long doubles because its argument
was converted to type double, resulting in undefined behavior.


131676 06-Jul-2004 das

Add C99's nearbyint{,f}() functions as wrappers around rint().
These trivial implementations are about 25 times slower than
rint{,f}() on x86 due to the FP environment save/restore.
They should eventually be redone in terms of fegetround() and
bit fiddling.


131539 03-Jul-2004 ru

Eliminate double whitespace.


131504 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


131421 01-Jul-2004 ru

Markup, grammar, punctuation.


131320 30-Jun-2004 das

Implement and document fdim{,f,l}, fmax{,f,l}, and fmin{,f,l}.


130774 20-Jun-2004 das

Uncomment some functions that we now support.


130770 20-Jun-2004 das

Cross-reference round(3) and trunc(3) as appropriate.


130767 20-Jun-2004 das

Implement trunc() and truncf().


130766 20-Jun-2004 das

Add trivial implementations of scalbln() and scalblnf().
These routines are specified in C99 for the sake of
architectures where an int isn't big enough to represent
the full range of floating-point exponents. However,
even the 128-bit long double format has an exponent smaller
than 15 bits, so for all practical purposes, scalbln() and
scalblnf() are aliases for scalbn() and scalbnf(), respectively.


130715 19-Jun-2004 stefanf

Document ilogb()'s return values in terms of the FP_ILOGB* macros.


130706 19-Jun-2004 das

Memory's free, but all the world ain't a VAX anymore. Bring math.3
kicking and screaming into the 1980's. This change converts most of
the markup from man(7) to mdoc(7) format, and I believe it removes or
updates everything that was flat out wrong. However, much work is
still needed to sanitize the markup, improve coverage, and reduce
overlap with other manpages. Some of the sections would better belong
in a philosophy_of_w_kahan.3 manpage, but they are informative and
remain at least as reminders of topics to cover.

Reviewed by: doc@, trhodes@


130371 12-Jun-2004 das

The references to scalbn and scalbnf should be scalb and scalbf.
(The former are actually useful, and ieee_test(3) only documents
functions that aren't.) Add a sentence describing the domain of
scalb() and scalbf().


130179 07-Jun-2004 das

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)


130148 06-Jun-2004 das

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@


129040 07-May-2004 stefanf

Add an implementation of copysignl(), a long double version of copysign().

Approved by: das (mentor)


128999 06-May-2004 stefanf

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)


121502 25-Oct-2003 des

Document fabsl(3).

Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>


111762 02-Mar-2003 ru

mdoc(7) police: Nits.


111546 26-Feb-2003 imp

- 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


108317 27-Dec-2002 schweikh

english(4) police.


93211 26-Mar-2002 bde

Resurrect Lite1's gamma() as C99's tgamma(). Minimal changes.


93204 26-Mar-2002 bde

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.


86712 21-Nov-2001 ru

Grammar nit.


86680 20-Nov-2001 ru

mdoc(7) police: fixed bugs from rev. 1.15.


86077 05-Nov-2001 dwmalone

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>


84980 15-Oct-2001 dd

Match parenthesis and don't give names to return values.

PR: 31214


84885 13-Oct-2001 bde

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.


84882 13-Oct-2001 bde

Fixed missing quoting of [-1, +1].

Submitted by: phantom


84881 13-Oct-2001 bde

Use ".Lb libm" where it will have an effect (not just in the zombie man
pages in libm).

Submitted by: phantom


84402 03-Oct-2001 bde

Removed .Nm's for the nonexistent functions exp2() and exp2f().


84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


81462 10-Aug-2001 ru

mdoc(7) police: join split punctuation to macro calls.


81351 09-Aug-2001 yar

Tiny markup fix: `to' isn't a variable


79754 15-Jul-2001 dd

Remove whitespace at EOL.


79531 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


75670 18-Apr-2001 ru

mdoc(7) police: normalize .Nd.


73088 26-Feb-2001 ru

.St -ansiC -> .St -isoC


72126 07-Feb-2001 ru

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.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


70481 29-Dec-2000 ru

Prepare for mdoc(7)NG.


69857 11-Dec-2000 ru

mdoc(7) police: use canonical form of .Dd macro.


69051 22-Nov-2000 ru

mdoc(7) police: Er macro usage cleanup.


68946 20-Nov-2000 ru

mdoc(7) police: Nm -> Fn where appropriate.


57695 02-Mar-2000 sheldonh

Remove more single-space hard sentence breaks.


57686 02-Mar-2000 sheldonh

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.


53036 09-Nov-1999 phantom

style fix

PR: docs/14737
Submitted by: Norihiro Kumagai <kuma@nk.rim.or.jp>


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


33107 04-Feb-1998 jlemon

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


32534 15-Jan-1998 danny

PR: 5489
Submitted by: Steve G. Kargl <kargl@troutmask.apl.washington.edu>
Repair corrupted text.


27371 13-Jul-1997 bde

Fixed minor bugs related to the addition of gammaf.

The major bug, that gamma is documented as really being gamma, is
still unfixed.


24011 19-Mar-1997 bde

Fixed synopsis. Some float functions claimed to have the same name as
the double version.


22993 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21907 20-Jan-1997 wosch

Sort cross references.


21673 14-Jan-1997 jkh

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.


20888 23-Dec-1996 wosch

comma typos


20648 18-Dec-1996 bde

Removed references to nonexistent functions log2() and log2f().


17756 21-Aug-1996 mpp

Fix up the NAME lines forthe ceil and floor man pages to be
less confusing.

Reviewed by: bde
Partially obtained from: NetBSD-bugs


14042 12-Feb-1996 mpp

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.


11674 22-Oct-1995 bde

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'.


6794 01-Mar-1995 jkh

Additions from Thomas Graichen to mention each functions' floating point
counterpart.
Submitted by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>


2117 19-Aug-1994 jkh

This commit was generated by cvs2svn to compensate for changes in r2116,
which included commits to RCS files with non-trunk default branches.