| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
was compiled with -O) by the precision bug in the i386 version of
gcc (assignments and casts don't clip the precision). E.g.,
rintf(12.3456789) was 12.125.
Avoid the same bug in rint(). It was only broken for the unusual
case when the i387 precision is 64 bits. FreeBSD defaults to 53
bit precision to avoid problems like this, but the standard math
emulator always uses 64 bit precision.
|
|
|
|
|
|
|
| |
less confusing.
Reviewed by: bde
Partially obtained from: NetBSD-bugs
|
|
|
|
| |
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
|
|
|
|
|
| |
register on its first call. Subsequent calls reused the register so
the leak didn't accumulate. Fixes PR 1275.
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.
This shuts up a lot of the output from "manck" for section 3.
|
|
|
|
| |
Use ${INSTALL} instead of install.
|
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
|
| |
than in the installation destination. Should make release-building
substantially faster. The msun Makefile changes simple adapt to the new
scheme.
|
| |
|
|
|
|
|
|
|
| |
Second part of update to fdlibm 5.2: speed up argument reduction for trig
functions in the case pi/4 < |x| < 3pi/4.
Remove unused static constants ("one").
|
|
|
|
|
| |
First part of update to fdlibm 5.2: fix jn(n, x) and jnf(n, x).
jn(-1, x) was too large by a factor of 3.
|
|
|
|
|
| |
Remove common sources from ${SRCS} when they are replaced by arch-specific
sources.
|
|
|
|
|
| |
counterpart.
Submitted by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The fyl2xp1 instruction has such a limited range:
-(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1
it's not worth trying to use it.
Also, I'm not sure fyl2xp1's extra precision will
matter once the result is converted from extended
real (80 bits) back to double real (64 bits).
Reviewed by: jkh
Submitted by: jtc
|
|
|
|
| |
Submitted by: jkh
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
| |
Submitted by: jkh
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-- 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
|
|
|