Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a small scripting snafu in the previous revision. | das | 2005-02-04 | 1 | -2/+2 |
| | |||||
* | Remove another vestige of support for a non-IEEE libm. | das | 2005-02-04 | 1 | -2/+0 |
| | |||||
* | Reduce diffs against vendor source (Sun fdlibm 5.3). | das | 2005-02-04 | 28 | -428/+476 |
| | |||||
* | Move machine-dependent crud to its own makefile. | das | 2005-02-04 | 5 | -22/+32 |
| | |||||
* | Remove wrappers and other cruft intended to support SVID, mistakes in | das | 2005-02-04 | 75 | -3283/+81 |
| | | | | | | | C90, and other arcana. Most of these features were never fully supported or enabled by default. Ok: bde, stefanf | ||||
* | Typo. | ru | 2005-01-28 | 1 | -1/+1 |
| | |||||
* | Properly terminate sentence. | ru | 2005-01-28 | 1 | -2/+2 |
| | |||||
* | - Move the functions presently described in in ieee(3) to their own | das | 2005-01-27 | 8 | -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 to | cognet | 2005-01-24 | 1 | -0/+7 |
| | | | | unbreak the build for arm. | ||||
* | Update comment to reflect the code change in the previous revision. | das | 2005-01-23 | 2 | -2/+2 |
| | | | | Noticed by: ceri | ||||
* | Many changes, including the following major ones: | das | 2005-01-23 | 1 | -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 that | das | 2005-01-23 | 2 | -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. | das | 2005-01-22 | 8 | -3/+412 |
| | |||||
* | Sort sections. | ru | 2005-01-20 | 2 | -17/+17 |
| | |||||
* | Use the \*(If string provided by mdoc(7), to represent infinity. | ru | 2005-01-16 | 2 | -18/+11 |
| | |||||
* | Removed redundant .br call. | ru | 2005-01-16 | 1 | -1/+0 |
| | |||||
* | amd64 assembly versions of sqrt(), lrint(), and llrint() using SSE2. | das | 2005-01-15 | 4 | -0/+77 |
| | |||||
* | Most libm routines depend on the rounding mode and/or set exception | das | 2005-01-15 | 1 | -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. | das | 2005-01-15 | 1 | -0/+7 |
| | | | | Pointy hat to: das | ||||
* | Remove numerous references to VAX floating-point and the setting of | das | 2005-01-14 | 12 | -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, we | das | 2005-01-14 | 1 | -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. | das | 2005-01-14 | 1 | -7/+0 |
| | |||||
* | Tiny markup nits. | ru | 2005-01-14 | 4 | -22/+23 |
| | |||||
* | Mark all inline asms that read the floating-point control or status | das | 2005-01-14 | 7 | -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. | stefanf | 2005-01-13 | 1 | -4/+3 |
| | | | | Obtained from: ru | ||||
* | Import the subset of J.T. Conklin's single-precision x86-optimized | das | 2005-01-13 | 17 | -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 subnormals | das | 2005-01-13 | 2 | -2/+2 |
| | | | | | | round correctly. Noticed by: stefanf | ||||
* | Things that are broken, unneeded, and unused since 1997 belong in the attic. | das | 2005-01-13 | 1 | -55/+0 |
| | |||||
* | Markup nits. | ru | 2005-01-13 | 3 | -33/+27 |
| | |||||
* | Fixed too many of "the", and enclose multi-word argument in double quotes. | ru | 2005-01-13 | 1 | -4/+3 |
| | |||||
* | Implement and document ceill(). | stefanf | 2005-01-13 | 4 | -8/+117 |
| | |||||
* | Bump .Dd for the last commit. | stefanf | 2005-01-13 | 1 | -1/+1 |
| | |||||
* | Hook up and document floorl(). | stefanf | 2005-01-12 | 2 | -5/+16 |
| | |||||
* | Implement floorl(). | stefanf | 2005-01-12 | 2 | -1/+98 |
| | |||||
* | Whitespace nit. | stefanf | 2005-01-12 | 1 | -1/+1 |
| | |||||
* | Add MI implementations of [l]lrint[f]() and [l]lround[f](). | das | 2005-01-11 | 10 | -4/+200 |
| | | | | Discussed with: bde | ||||
* | Document [l]lrint[f]() and [l]lround[f](). | das | 2005-01-11 | 5 | -5/+197 |
| | |||||
* | Faster lrint() and llrint() implementations for x86. | das | 2005-01-11 | 2 | -0/+71 |
| | |||||
* | Mark inline stmxcsr instructions as volatile, since this appears to be | das | 2005-01-11 | 1 | -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. | ru | 2005-01-11 | 4 | -6/+8 |
| | |||||
* | Sanitize the markup, as prompted. | ru | 2005-01-11 | 1 | -182/+173 |
| | |||||
* | GC unused declaration | das | 2004-12-16 | 1 | -1/+0 |
| | |||||
* | Cosmetic changes only: | das | 2004-12-16 | 3 | -45/+15 |
| | | | | | | | | - style - remove unused variables - de-support VAX Inspired by: bin/42388 | ||||
* | More updates for math(3): | das | 2004-10-11 | 1 | -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(). | stefanf | 2004-10-11 | 4 | -4/+65 |
| | |||||
* | Use the FP_ILOG macros from <math.h> rather than hardcoded return values. | stefanf | 2004-10-09 | 2 | -6/+13 |
| | | | | | | Also be prepared for FP_ILOGBNAN != INT_MAX. Reviewed by: md5 | ||||
* | Bump the library version numbers for the following libraries: | kensmith | 2004-10-01 | 1 | -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: | das | 2004-09-17 | 1 | -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. | stefanf | 2004-08-07 | 2 | -2/+107 |
| | |||||
* | Only use rfs and wfs if ARM_HARD_FLOAT is defined, and use stubs if it is not, | cognet | 2004-08-05 | 1 | -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 |