Commit Graph

76 Commits

Author SHA1 Message Date
Ulrich Drepper
92a38c359c (__floor): Copy commentary from bits/mathinclude.h. Kill unused defines. 1999-01-29 16:55:14 +00:00
Ulrich Drepper
f8aa498753 (__floor): Don't depend on inlining, duplicate the code. 1999-01-29 10:57:47 +00:00
Ulrich Drepper
068bbaf6e0 (__floorf): Don't depend on inlining, duplicate the code. 1999-01-29 10:57:31 +00:00
Ulrich Drepper
f210901a5a Avoid -Wparentheses warning. 1998-12-13 12:12:49 +00:00
Ulrich Drepper
1173aab2d2 Remove __setfpucw declaration, it's an internal symbol. 1998-11-26 12:00:10 +00:00
Ulrich Drepper
200172bd3f Define ISO C 9X stuff only if included from math.h and __USE_ISOC9X is
defined.
1998-11-10 19:10:36 +00:00
Richard Henderson
d7bb0de178 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
        * sysdeps/alpha/fpu/s_floor.c: New.
        * sysdeps/alpha/fpu/s_floorf.c: New.
        * sysdeps/alpha/fpu/s_ceil.c: New.
        * sysdeps/alpha/fpu/s_ceilf.c: New.
1998-08-23 04:09:49 +00:00
Richard Henderson
9b1370b857 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
a finite non-denormal, deferring to the full IEEE version otherwise.
1998-08-23 04:09:25 +00:00
Richard Henderson
9e6a624f76 * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
inputs near DBL_MIN.
1998-07-28 23:41:26 +00:00
Ulrich Drepper
1b1f0c36e3 Version definitions. 1998-07-02 22:33:35 +00:00
Ulrich Drepper
035d42d2a0 (feraiseexcept): Mark tmp as early-clobber. 1998-06-27 09:51:32 +00:00
Richard Henderson
9ba8164eb6 * shlib-versions: Match alpha*.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
        * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
        * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
        Implement copysign* with and without __ prefix.
        Likewise for fabs; use builtin for gcc 2.8.
        (floor*): New.
        (fdim*): New.
        * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
        (R_SPARC*): Match current v9 ABI.
        * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
        * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
        * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
        * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
        * sysdeps/generic/getresgid.c: Use prototype form because of warning.
        * sysdeps/unix/sysv/linux/getdents.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
        * sysdeps/unix/grantpt.c (argv): Fix consts.
        * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
        * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1998-03-01 00:56:41 +00:00
Ulrich Drepper
f635bc2865 (feraiseexcept): Use a dummy for FE_DIVBYZERO. Kludge for
FE_UNDERFLOW.
1998-02-26 16:29:41 +00:00
Ulrich Drepper
d424955575 (FE_TOWARDZERO): Correct typo. 1998-02-26 08:38:37 +00:00
Ulrich Drepper
5faf38aeab Add definition of FP_ILOGB0 and FP_ILOGNAN. 1998-01-21 17:00:32 +00:00
Ulrich Drepper
905714080f Issue error message if the header is used directly. 1997-11-26 04:14:44 +00:00
Ulrich Drepper
2ecd6b510f Define INFINITY as of type float.
Define DECIMAL_DIG.
1997-11-13 00:15:53 +00:00
Ulrich Drepper
d930b435a9 High-quality sqrt implementation for Alpha. 1997-09-05 01:38:54 +00:00
Ulrich Drepper
eca7f27242 Only define functions if __OPTIMIZE__. 1997-07-14 21:41:49 +00:00
Ulrich Drepper
788c7990eb Moved to bits/. 1997-06-21 02:40:36 +00:00
Ulrich Drepper
b3539abf29 Alpha specific math inline functions. 1997-06-21 02:33:37 +00:00
Ulrich Drepper
5d4b2fb954 Alpha specific math definitions. 1997-06-21 02:32:30 +00:00
Ulrich Drepper
dc75d9cbc3 Alpha specific FP environment definitions. 1997-06-21 02:31:00 +00:00
Ulrich Drepper
f97d5b5f4d Add copyright.
(rdfpcr): Use excb rather than trapb.  Be more efficient about
getting at the fpcr.
(wrfpcr): Likewise.
(__setfpucw): Reformat.
1997-05-31 00:46:15 +00:00
Ulrich Drepper
91650f79e3 Math exception and environment handling. 1997-05-31 00:43:46 +00:00
Roland McGrath
f04e87f28a Sat Jun 15 18:13:43 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* math/Makefile (headers): Add fpu_control.h.
	(aux): New variable, list fpu_control and setfpucw.
	* sysdeps/generic/fpu_control.c: New file.
	* sysdeps/stub/fpu_control.h: New file.
	* sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ...
	* sysdeps/m68k/fpu_control.h: here.
	* sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ...
	* sysdeps/i386/fpu_control.h: here.
	* sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ...
	* sysdeps/alpha/fpu/fpu_control.h: here.  Fixed copyright.
	* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
	setfpucw, fpu_control.
	* sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed.
	* sysdeps/unix/sysv/linux/setfpucw.c: Moved to ...
	* sysdeps/generic/setfpucw.c: here.
	(__fpu_control): Variable removed.
	(__setfpucw): Use SET even if zero.
1996-06-16 03:49:08 +00:00