| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
to fix the "-nostdinc WARNS=X" breakage caused by broken prototypes
for cabs() and cabsl() in <math.h>.
Reimplemented cabs() and cabsl() using new complex numbers types and
moved prototypes from <math.h> to <complex.h>.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Spotted by: imura
|
| |
|
|
|
|
|
|
| |
modify this file when building GCC 2.96 [by hand or via the port].
Submitted by: Zack Weinberg <zack@wolery.cumb.org>
|
| |
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
|
|
|
|
| |
PR: docs/14737
Submitted by: Norihiro Kumagai <kuma@nk.rim.or.jp>
|
| |
|
|
|
|
| |
compilers.
|
|
|
|
|
|
|
|
|
|
| |
#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>
|
|
|
|
| |
the i386 builds with a __generic prefix need to have that stripped.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Add cross-references to the elusive fpsetmask() function to various other
man pages.
Reviewed by: bde
|
|
|
|
|
| |
Submitted by: Steve G. Kargl <kargl@troutmask.apl.washington.edu>
Repair corrupted text.
|
| |
|
|
|
|
|
| |
with the standard C++ `class exception'. This makes matherr() difficult
to use in C++. Small loss.
|
|
|
|
|
| |
The major bug, that gamma is documented as really being gamma, is
still unfixed.
|
|
|
|
|
|
| |
code for.
Obtained from: a slightly different fix in NetBSD
|
|
|
|
|
|
| |
to control generation of indirections in ENTRY(). Only msun needs it.
Use ${ARCH} consistently.
|
|
|
|
| |
the double version.
|
|
|
|
|
|
| |
float versions. Using sqrt() was inefficient.
Obtained from: NetBSD
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
are in their own file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
some small (one or two ULP) inaccuracies.
Found by: ucbtest
|
|
|
|
| |
build.
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
because _IEEE_LIBM always takes priority, so the definition just served
to confuse.
Reviewed by: bde
|