aboutsummaryrefslogtreecommitdiff
path: root/lib/msun/man/math.3
Commit message (Collapse)AuthorAgeFilesLines
* MFC r326669:Dimitry Andric2017-12-101-7/+1
| | | | | | | | | | Remove the sentence in math(3) about some long double math functions not being available. Submitted by: Steve Kargl Notes: svn path=/stable/10/; revision=326746
* It's no longer accurate to say that math.h "constitute[s] the C mathDavid Schultz2011-10-171-1/+16
| | | | | | | | | 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. Notes: svn path=/head/; revision=226460
* Implement the long double version for the cube root function, cbrtl.Steve Kargl2011-03-121-5/+4
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=219571
* Fix various nits in style and comments that were pointed out by bde.David Schultz2010-12-071-4/+3
| | | | | | | Code changes verified with md5. Notes: svn path=/head/; revision=216247
* Add log2() and log2f().David Schultz2010-12-051-8/+10
| | | | Notes: svn path=/head/; revision=216211
* mdoc: Garbage collect unused/unneeded macrosUlrich Spörlein2010-05-271-3/+0
| | | | Notes: svn path=/head/; revision=208594
* Document the fact that we have nan(3) now, and make some minor clarificationsDavid Schultz2007-12-171-10/+14
| | | | | | | in other places. Notes: svn path=/head/; revision=174694
* Remove California Regent's clause 3, per letterWarner Losh2007-01-091-4/+0
| | | | Notes: svn path=/head/; revision=165906
* -mdoc sweep.Ruslan Ermilov2005-11-171-1/+1
| | | | Notes: svn path=/head/; revision=152551
* The logb() functions are not just ieee754 "test" functions, but areBruce Evans2005-11-061-1/+2
| | | | | | | | | | | | | | | | 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(). Notes: svn path=/head/; revision=152117
* Markup nit.Ruslan Ermilov2005-06-161-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147446
* Document exp2() and exp2f(), and make other minor tweaks and updates.David Schultz2005-04-051-8/+10
| | | | Notes: svn path=/head/; revision=144649
* Implement and document remquo() and remquof().David Schultz2005-03-251-4/+3
| | | | Notes: svn path=/head/; revision=144091
* Add nexttoward to the list of implemented functions, and explicitlyDavid Schultz2005-03-071-4/+8
| | | | | | | list the four that are still missing. Notes: svn path=/head/; revision=143225
* - Move the functions presently described in in ieee(3) to their ownDavid Schultz2005-01-271-409/+0
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=140890
* Many changes, including the following major ones:David Schultz2005-01-231-113/+269
| | | | | | | | | | | | | - 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. Notes: svn path=/head/; revision=140681
* Add fma() and fmaf(), which implement a fused multiply-add operation.David Schultz2005-01-221-1/+1
| | | | Notes: svn path=/head/; revision=140609
* Sort sections.Ruslan Ermilov2005-01-201-15/+15
| | | | Notes: svn path=/head/; revision=140505
* Use the \*(If string provided by mdoc(7), to represent infinity.Ruslan Ermilov2005-01-161-10/+9
| | | | Notes: svn path=/head/; revision=140355
* Document [l]lrint[f]() and [l]lround[f]().David Schultz2005-01-111-5/+5
| | | | Notes: svn path=/head/; revision=140087
* Scheduled mdoc(7) sweep.Ruslan Ermilov2005-01-111-3/+5
| | | | Notes: svn path=/head/; revision=140081
* Sanitize the markup, as prompted.Ruslan Ermilov2005-01-111-182/+173
| | | | Notes: svn path=/head/; revision=140079
* More updates for math(3):David Schultz2004-10-111-30/+40
| | | | | | | | | | | | | - 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. Notes: svn path=/head/; revision=136395
* Uncomment some functions that we now support.David Schultz2004-06-201-3/+3
| | | | Notes: svn path=/head/; revision=130774
* Memory's free, but all the world ain't a VAX anymore. Bring math.3David Schultz2004-06-191-364/+206
| | | | | | | | | | | | | | | 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@ Notes: svn path=/head/; revision=130706
* Remove whitespace at EOL.Dima Dorfman2001-07-151-3/+3
| | | | Notes: svn path=/head/; revision=79754
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-021-1/+2
| | | | Notes: svn path=/head/; revision=57695
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Document the fpgetprec/fpsetprec functions in their man page.Jonathan Lemon1998-02-041-1/+10
| | | | | | | | | Add cross-references to the elusive fpsetmask() function to various other man pages. Reviewed by: bde Notes: svn path=/head/; revision=33107
* PR: 5489Daniel O'Callaghan1998-01-151-5/+5
| | | | | | | | Submitted by: Steve G. Kargl <kargl@troutmask.apl.washington.edu> Repair corrupted text. Notes: svn path=/head/; revision=32534
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Fixed some minor formatting problems to silence manck some more.Mike Pritchard1996-02-121-3/+2
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=14042
* Additions from Thomas Graichen to mention each functions' floating pointJordan K. Hubbard1995-03-011-6/+9
| | | | | | | | counterpart. Submitted by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de> Notes: svn path=/head/; revision=6794
* J.T. Conklin's latest version of the Sun math library.Jordan K. Hubbard1994-08-191-0/+633
-- 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 Notes: svn path=/cvs2svn/branches/msun/; revision=2116