| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=50476
|
|
|
|
|
|
|
| |
compilers.
Notes:
svn path=/head/; revision=42044
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#include <ieeefp.h>
to access these functions instead of the i386 specific
#include <machine/floatingpoint.h>
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Notes:
svn path=/head/; revision=42029
|
|
|
|
|
|
|
| |
the i386 builds with a __generic prefix need to have that stripped.
Notes:
svn path=/head/; revision=35925
|
|
|
|
| |
Notes:
svn path=/head/; revision=35399
|
|
|
|
| |
Notes:
svn path=/head/; revision=35380
|
|
|
|
| |
Notes:
svn path=/head/; revision=33662
|
|
|
|
|
|
|
|
|
| |
Add cross-references to the elusive fpsetmask() function to various other
man pages.
Reviewed by: bde
Notes:
svn path=/head/; revision=33107
|
|
|
|
|
|
|
|
| |
Submitted by: Steve G. Kargl <kargl@troutmask.apl.washington.edu>
Repair corrupted text.
Notes:
svn path=/head/; revision=32534
|
|
|
|
| |
Notes:
svn path=/head/; revision=32405
|
|
|
|
|
|
|
|
| |
with the standard C++ `class exception'. This makes matherr() difficult
to use in C++. Small loss.
Notes:
svn path=/head/; revision=28971
|
|
|
|
|
|
|
|
| |
The major bug, that gamma is documented as really being gamma, is
still unfixed.
Notes:
svn path=/head/; revision=27371
|
|
|
|
|
|
|
|
|
| |
code for.
Obtained from: a slightly different fix in NetBSD
Notes:
svn path=/head/; revision=25322
|
|
|
|
|
|
|
|
|
| |
to control generation of indirections in ENTRY(). Only msun needs it.
Use ${ARCH} consistently.
Notes:
svn path=/head/; revision=24964
|
|
|
|
|
|
|
| |
the double version.
Notes:
svn path=/head/; revision=24011
|
|
|
|
|
|
|
|
|
| |
float versions. Using sqrt() was inefficient.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=23579
|
|
|
|
| |
Notes:
svn path=/head/; revision=23577
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and small values:
hypotf(2.3819765e+38, 2.0416943e+38) was NaN instead of 3.1372484e+38
hypotf(-3.4028235e+38, 3.3886450e+38) was NaN instead of Inf
hypotf(-2.8025969e-45, -2.8025969e-45) was 0 instead of 4.2038954e-45
Found by: ucbtest
Notes:
svn path=/head/; revision=23397
|
|
|
|
| |
Notes:
svn path=/head/; revision=22993
|
|
|
|
|
|
|
| |
are in their own file.
Notes:
svn path=/head/; revision=22948
|
|
|
|
| |
Notes:
svn path=/head/; revision=22947
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
avoid easily avoidable loss of precision when |x| is nearly 1.
Extended (64-bit) precision only moves the meaning of "nearly" here.
This probably could be done better by splitting up the range into
|x| <= 0.5 and |x| > 0.5 like the C version. However, ucbtest
does't report any errors in this version. Perhaps the C version
should be used anyway. It's only 25% slower now on a P5, provided
the C version of sqrt() isn't used, and the C version could be
optimized better.
Errors checked by: ucbtest
Notes:
svn path=/head/; revision=22946
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
at runtime.
etc/make.conf:
Nuked HAVE_FPU option.
lib/msun/Makefile:
Always build the i387 objects. Copy the i387 source files at build
time so that the i387 objects have different names. This is simpler
than renaming the files in the cvs repository or repeating half of
bsd.lib.mk to add explicit rules.
lib/msun/src/*.c:
Renamed all functions that have an i387-specific version by adding
`__generic_' to their names.
lib/msun/src/get_hw_float.c:
New file for getting machdep.hw_float from the kernel.
sys/i386/include/asmacros.h:
Abuse the ENTRY() macro to generate jump vectors and associated code.
This works much like PIC PLT dynamic initialization. The PIC case is
messy. The old i387 entry points are renamed. Renaming is easier
here because the names are given by macro expansions.
Notes:
svn path=/head/; revision=22808
|
|
|
|
|
|
|
|
|
| |
some small (one or two ULP) inaccuracies.
Found by: ucbtest
Notes:
svn path=/head/; revision=22802
|
|
|
|
|
|
|
| |
build.
Notes:
svn path=/head/; revision=22748
|
|
|
|
|
|
|
|
|
|
|
|
| |
This defeats the point of log1p(). ucbtest reports errors of +-5e+15
ULPs. A correct version would use the i387 fyl2xp1 instruction for
small x and maybe scale to small x. The C version does the scaling
reasonably efficiently, and fyl2px1 is slow (at least on P5s), so not
much is lost by always using the C version (only 25% for small x even
with the broken i387 version; 50% for large x).
Notes:
svn path=/head/; revision=22731
|
|
|
|
| |
Notes:
svn path=/head/; revision=21907
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
because _IEEE_LIBM always takes priority, so the definition just served
to confuse.
Reviewed by: bde
Notes:
svn path=/head/; revision=21435
|
|
|
|
| |
Notes:
svn path=/head/; revision=20888
|
|
|
|
| |
Notes:
svn path=/head/; revision=20648
|
|
|
|
|
|
|
| |
that purpose instead of space below the stack.
Notes:
svn path=/head/; revision=20447
|
|
|
|
|
|
|
|
| |
every call. The damage was sometimes limited by other routines using
and freeing stack slots that should have been empty to being with.
Notes:
svn path=/head/; revision=20445
|
|
|
|
|
|
|
| |
Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>
Notes:
svn path=/head/; revision=17958
|
|
|
|
| |
Notes:
svn path=/head/; revision=17935
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=17860
|
|
|
|
|
|
|
|
|
|
| |
less confusing.
Reviewed by: bde
Partially obtained from: NetBSD-bugs
Notes:
svn path=/head/; revision=17756
|
|
|
|
|
|
|
| |
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Notes:
svn path=/head/; revision=17141
|
|
|
|
|
|
|
|
| |
register on its first call. Subsequent calls reused the register so
the leak didn't accumulate. Fixes PR 1275.
Notes:
svn path=/head/; revision=16054
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=14251
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=13988
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=13987
|
|
|
|
|
|
|
| |
Use ${INSTALL} instead of install.
Notes:
svn path=/head/; revision=11682
|
|
|
|
|
|
|
|
|
|
|
| |
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'.
Notes:
svn path=/head/; revision=11674
|
|
|
|
|
|
|
|
|
| |
than in the installation destination. Should make release-building
substantially faster. The msun Makefile changes simple adapt to the new
scheme.
Notes:
svn path=/head/; revision=11136
|
|
|
|
| |
Notes:
svn path=/head/; revision=8870
|
|
|
|
|
|
|
|
|
|
| |
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").
Notes:
svn path=/head/; revision=7659
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=7658
|
|
|
|
|
|
|
|
| |
Remove common sources from ${SRCS} when they are replaced by arch-specific
sources.
Notes:
svn path=/head/; revision=6953
|