summaryrefslogtreecommitdiffstats
path: root/lib/msun/src
Commit message (Collapse)AuthorAgeFilesLines
* Port to ia64. Actually, just do like the alpha.dfr2001-10-081-1/+1
|
* 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>.
* Fix #include orderbrian2000-10-151-1/+1
| | | | Spotted by: imura
* 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>
* $Id$ -> $FreeBSD$peter1999-08-28163-163/+163
|
* 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
|
* 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.
* Use __ieee754_sqrt() instead of sqrt() internally. Similarly for thebde1997-03-0912-33/+33
| | | | | | float versions. Using sqrt() was inefficient. Obtained from: NetBSD
* 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-22163-163/+163
|
* Split up the Bessel function wrapper files so that most wrapper functionsbde1997-02-2012-176/+313
| | | | are in their own file.
* Removed misplaced duplicate of comment about implementation details.bde1997-02-201-22/+0
|
* Select between the generic math functions and the i387-specific onesbde1997-02-1624-48/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-14156-156/+156
| | | | | | | | 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.
* Made rintf() actually work. It was completely broken (when s_rint.cbde1996-08-282-6/+19
| | | | | | | | | | | 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.
* General -Wall warning cleanup, part I.jkh1996-07-127-16/+16
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Remove trailing whitespace.rgrimes1995-05-30161-1036/+1036
|
* Submitted by: J.T. Conklin <jtc@wimsey.com>bde1995-04-076-10/+56
| | | | | | | 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").
* Submitted by: J.T. Conklin <jtc@wimsey.com>bde1995-04-072-4/+4
| | | | | 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.
* Add missing z_abs. In BSD tradition this is in libm.a.ljo1994-11-111-0/+7
|
* J.T. Conklin's latest version of the Sun math library.jkh1994-08-19162-0/+15965
-- 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
OpenPOWER on IntegriCloud