summaryrefslogtreecommitdiffstats
path: root/lib/msun
Commit message (Collapse)AuthorAgeFilesLines
* Remove whitespace at EOL.dd2001-07-1520-64/+64
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-109-9/+9
|
* Added skeleton <complex.h> (aligned with the POSIX.1-200x), mostlyru2001-06-133-19/+20
| | | | | | | | 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>.
* mdoc(7) police: normalize .Nd.ru2001-04-181-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Don't use MANDEPEND and MANSRC.ru2001-03-261-2/+0
|
* .St -ansiC -> .St -isoCru2001-02-2615-15/+15
|
* mdoc(7) police: Change -filled displays (which just happenru2001-02-072-2/+2
| | | | | | 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.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-015-8/+9
|
* Prepare for mdoc(7)NG.ru2000-12-292-2/+1
|
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-111-1/+1
|
* mdoc(7) police: Er macro usage cleanup.ru2000-11-223-3/+3
|
* mdoc(7) police: Nm -> Fn where appropriate.ru2000-11-202-4/+4
|
* Fix #include orderbrian2000-10-151-1/+1
| | | | Spotted by: imura
* Removed bogus 'l' suffixes in FP register to register instructions.bde2000-06-066-8/+8
|
* MFS: Add a "magic" comment to help fixincludes realize it doesn't need toobrien2000-03-271-0/+2
| | | | | | modify this file when building GCC 2.96 [by hand or via the port]. Submitted by: Zack Weinberg <zack@wolery.cumb.org>
* Remove more single-space hard sentence breaks.sheldonh2000-03-021-1/+2
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-022-2/+4
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* style fixphantom1999-11-091-5/+8
| | | | | PR: docs/14737 Submitted by: Norihiro Kumagai <kuma@nk.rim.or.jp>
* $Id$ -> $FreeBSD$peter1999-08-28217-217/+217
|
* Disable building with alpha software completion options until we upgradedfr1998-12-241-2/+3
| | | | compilers.
* Implement fpsetmask() and other fp*() functions. Programs should usedfr1998-12-231-1/+2
| | | | | | | | | | #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>
* There is no alpha asm code like on i386, so all the functions thatjb1998-05-101-1/+28
| | | | the i386 builds with a __generic prefix need to have that stripped.
* Back out last changepst1998-04-231-2/+2
|
* Fix cabs and cabsf definitions to be prototypes.pst1998-04-221-3/+3
|
* Add alpha support. m68k crept in too. Oops. 8-)jb1998-02-201-1/+16
|
* Document the fpgetprec/fpsetprec functions in their man page.jlemon1998-02-041-1/+10
| | | | | | Add cross-references to the elusive fpsetmask() function to various other man pages. Reviewed by: bde
* PR: 5489danny1998-01-151-5/+5
| | | | | Submitted by: Steve G. Kargl <kargl@troutmask.apl.washington.edu> Repair corrupted text.
* This is the only alpha math source that NetBSD has.jb1998-01-102-0/+90
|
* Hide the declaration of `struct exception' from C++, since it conflictsbde1997-08-311-1/+5
| | | | | with the standard C++ `class exception'. This makes matherr() difficult to use in C++. Small loss.
* Fixed minor bugs related to the addition of gammaf.bde1997-07-131-3/+3
| | | | | The major bug, that gamma is documented as really being gamma, is still unfixed.
* Fixed wrong mnemonic `setnel' that gas happened to generate correct objectbde1997-04-301-2/+2
| | | | | | code for. Obtained from: a slightly different fix in NetBSD
* Added -D_ARCH_INDIRECT=i387_ to CFLAGS. _ARCH_INDIRECT will soon be usedbde1997-04-151-4/+5
| | | | | | to control generation of indirections in ENTRY(). Only msun needs it. Use ${ARCH} consistently.
* Fixed synopsis. Some float functions claimed to have the same name asbde1997-03-193-6/+6
| | | | the double version.
* Use __ieee754_sqrt() instead of sqrt() internally. Similarly for thebde1997-03-0912-33/+33
| | | | | | float versions. Using sqrt() was inefficient. Obtained from: NetBSD
* Include <machine/asm.h> instead of kernel-only <machine/asmacros.h>.bde1997-03-0924-48/+48
|
* Fixed wrong magic numbers in scaling. hypotf() was very broken for largebde1997-03-051-8/+8
| | | | | | | | | | 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
* Revert $FreeBSD$ to $Id$peter1997-02-22215-215/+215
|
* Split up the Bessel function wrapper files so that most wrapper functionsbde1997-02-2013-177/+315
| | | | are in their own file.
* Removed misplaced duplicate of comment about implementation details.bde1997-02-201-22/+0
|
* Compute (1 - x^2) as ((1 - x) * (1 + x)) instead of as (1 - x * x) tobde1997-02-202-11/+23
| | | | | | | | | | | | | | | 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
* Select between the generic math functions and the i387-specific onesbde1997-02-1625-56/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fixed the i87 version of exp(). It returned NaN for args +-Inf. It hadbde1997-02-161-0/+42
| | | | | | some small (one or two ULP) inaccuracies. Found by: ucbtest
* Put back .endif clobbered by the previous commit, breaking thejkh1997-02-151-0/+1
| | | | build.
* Disabled the i387 version if log1p(). It just evaluates log(1 + x).bde1997-02-151-2/+4
| | | | | | | | | 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).
* Sort cross references.wosch1997-01-2013-33/+33
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-14208-208/+208
| | | | | | | | 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.
* Delete -D_POSIX_MODE and -D_MULTI_LIBM from CFLAGS. They never had any effectwollman1997-01-081-2/+2
| | | | | | | because _IEEE_LIBM always takes priority, so the definition just served to confuse. Reviewed by: bde
* comma typoswosch1996-12-231-3/+3
|
* Removed references to nonexistent functions log2() and log2f().bde1996-12-181-3/+1
|
OpenPOWER on IntegriCloud