summaryrefslogtreecommitdiffstats
path: root/lib/msun
Commit message (Collapse)AuthorAgeFilesLines
* Fix a small scripting snafu in the previous revision.das2005-02-041-2/+2
|
* Remove another vestige of support for a non-IEEE libm.das2005-02-041-2/+0
|
* Reduce diffs against vendor source (Sun fdlibm 5.3).das2005-02-0428-428/+476
|
* Move machine-dependent crud to its own makefile.das2005-02-045-22/+32
|
* Remove wrappers and other cruft intended to support SVID, mistakes indas2005-02-0475-3283/+81
| | | | | | | C90, and other arcana. Most of these features were never fully supported or enabled by default. Ok: bde, stefanf
* Typo.ru2005-01-281-1/+1
|
* Properly terminate sentence.ru2005-01-281-2/+2
|
* - Move the functions presently described in in ieee(3) to their owndas2005-01-278-585/+885
| | | | | | | | 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.
* Define FE_TONEAREST, FE_TOWARDZERO, FE_UPWARD, FE_DOWNWARD and _ROUND_MASK tocognet2005-01-241-0/+7
| | | | unbreak the build for arm.
* Update comment to reflect the code change in the previous revision.das2005-01-232-2/+2
| | | | Noticed by: ceri
* Many changes, including the following major ones:das2005-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.
* If x == y, return y, not x. C99 (though not IEEE 754) requires thatdas2005-01-232-2/+2
| | | | nextafter(+0.0, -0.0) returns -0.0 and nextafter(-0.0, +0.0) returns +0.0.
* Add fma() and fmaf(), which implement a fused multiply-add operation.das2005-01-228-3/+412
|
* Sort sections.ru2005-01-202-17/+17
|
* Use the \*(If string provided by mdoc(7), to represent infinity.ru2005-01-162-18/+11
|
* Removed redundant .br call.ru2005-01-161-1/+0
|
* amd64 assembly versions of sqrt(), lrint(), and llrint() using SSE2.das2005-01-154-0/+77
|
* Most libm routines depend on the rounding mode and/or set exceptiondas2005-01-151-31/+29
| | | | | | | | | | | | | | flags, so they are not pure. Remove the __pure2 annotation from them. I believe that the following routines and their float and long double counterparts are the only ones here that can be __pure2: copysign is* fabs finite fmax fmin fpclassify ilogb nan signbit When gcc supports FENV_ACCESS, perhaps there will be a new annotation that allows the other functions to be considered pure when FENV_ACCESS is off. Discussed with: bde
* Braino. Revert rev 1.50.das2005-01-151-0/+7
| | | | Pointy hat to: das
* Remove numerous references to VAX floating-point and the setting ofdas2005-01-1412-204/+44
| | | | | | errno, replacing them with a discussion of IEEE exceptions where appropriate. Cross-reference fenv(3) whenever exceptions are mentioned.
* Set math_errhandling to MATH_ERREXCEPT. Now that we have fenv.h, wedas2005-01-141-1/+1
| | | | | | basically support this, subject to gcc's lack of FENV_ACCESS support. In any case, the previous setting of math_errhandling to 0 is not allowed by POSIX.
* Remove some #if 0'd code.das2005-01-141-7/+0
|
* Tiny markup nits.ru2005-01-144-22/+23
|
* Mark all inline asms that read the floating-point control or statusdas2005-01-147-11/+11
| | | | | | | registers as volatile. Instructions that *wrote* to FP state were already marked volatile, but apparently gcc has license to move non-volatile asms past volatile asms. This broke amd64's feupdateenv at -O2 due to a WAR conflict between fnstsw and fldenv there.
* Fixed too many of "the", and enclose multi-word argument in double quotes.stefanf2005-01-131-4/+3
| | | | Obtained from: ru
* Import the subset of J.T. Conklin's single-precision x86-optimizeddas2005-01-1317-2/+280
| | | | | | | math routines that appear to be (a) correct and (b) faster than their MI counterparts on my Pentium 4. Obtained from: NetBSD
* The isnormal() in rev 1.2 should have been isfinite() so subnormalsdas2005-01-132-2/+2
| | | | | | round correctly. Noticed by: stefanf
* Things that are broken, unneeded, and unused since 1997 belong in the attic.das2005-01-131-55/+0
|
* Markup nits.ru2005-01-133-33/+27
|
* Fixed too many of "the", and enclose multi-word argument in double quotes.ru2005-01-131-4/+3
|
* Implement and document ceill().stefanf2005-01-134-8/+117
|
* Bump .Dd for the last commit.stefanf2005-01-131-1/+1
|
* Hook up and document floorl().stefanf2005-01-122-5/+16
|
* Implement floorl().stefanf2005-01-122-1/+98
|
* Whitespace nit.stefanf2005-01-121-1/+1
|
* Add MI implementations of [l]lrint[f]() and [l]lround[f]().das2005-01-1110-4/+200
| | | | Discussed with: bde
* Document [l]lrint[f]() and [l]lround[f]().das2005-01-115-5/+197
|
* Faster lrint() and llrint() implementations for x86.das2005-01-112-0/+71
|
* Mark inline stmxcsr instructions as volatile, since this appears to bedas2005-01-111-1/+1
| | | | | the only way to convince gcc that they read the MXCSR. The volatile annotation may be needed elsewhere as well.
* Scheduled mdoc(7) sweep.ru2005-01-114-6/+8
|
* Sanitize the markup, as prompted.ru2005-01-111-182/+173
|
* GC unused declarationdas2004-12-161-1/+0
|
* Cosmetic changes only:das2004-12-163-45/+15
| | | | | | | | - style - remove unused variables - de-support VAX Inspired by: bin/42388
* More updates for math(3):das2004-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.
* Add and document ilogbl(), a long double version of ilogb().stefanf2004-10-114-4/+65
|
* Use the FP_ILOG macros from <math.h> rather than hardcoded return values.stefanf2004-10-092-6/+13
| | | | | | Also be prepared for FP_ILOGBNAN != INT_MAX. Reviewed by: md5
* Bump the library version numbers for the following libraries:kensmith2004-10-011-0/+1
| | | | | | | | | | | /lib/{libm,libreadline} /usr/lib/{libhistory,libopie,libpcap} in preparation for doing the same thing to RELENG_5. HUGE amounts of help for determining what to bump provided by kris. Discussed on: freebsd-current Approved by: re (not required for commit but something like this should be)
* Further refine some #ifs:das2004-09-171-2/+2
| | | | | | | - Simplify the logic by using __GNUC_PREREQ__. Suggested by stefanf. - Make math.h compile with old (pre-8.0) versions of icc. Submitted by sf [sic].
* Add man pages for the cimag(), conj() and creal() functions.stefanf2004-08-072-2/+107
|
* Only use rfs and wfs if ARM_HARD_FLOAT is defined, and use stubs if it is not,cognet2004-08-051-2/+7
| | | | | | in order to unbreak arm make world. The right way to do it with soft floats will be figured out later. Discussed with: das
OpenPOWER on IntegriCloud