Ulrich Drepper
f6bd63ae21
Maximum error for atan2f is 4.
2001-04-18 00:22:15 +00:00
Ulrich Drepper
5e6947e364
Adjust error values for atan2f.
2001-04-18 00:19:18 +00:00
Ulrich Drepper
b0b7e44c75
Adjust for increased precision in result of several tests.
2001-04-17 18:59:43 +00:00
Ulrich Drepper
b72a1aa920
Honour __NO_MATH_INLINES.
2001-02-07 18:20:36 +00:00
Ulrich Drepper
e9a0b83c8f
Remove FLT_EVAL_METHOD and DECIMAL_DIG definitions.
2000-12-04 08:37:22 +00:00
Andreas Jaeger
90d62a5cb2
Update.
2000-11-13 16:53:57 +00:00
Ulrich Drepper
ff86bfcd6b
Update after libm-test.inc change.
2000-10-26 17:23:46 +00:00
Andreas Jaeger
d2fb0972b5
Alpha specific ulps.
2000-09-22 07:35:56 +00:00
Ulrich Drepper
d31dde9292
Make FP_ILOGB0 and FP_ILOGBNAN int values.
2000-09-01 06:32:15 +00:00
Ulrich Drepper
858db9cbc8
Change type of FE_*_ENV macros to const fenv_t*.
2000-09-01 04:41:12 +00:00
Ulrich Drepper
1829753231
(FE_DENORMAL): New.
...
(FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2000-08-19 16:07:53 +00:00
Ulrich Drepper
c9bca5114f
Use <fenv_libc.h>.
2000-08-19 16:07:37 +00:00
Ulrich Drepper
4b84abdd3e
fenv definitions for Linux/Alpha.
2000-08-19 16:06:09 +00:00
Ulrich Drepper
17193a21d6
Alpha fedisableexcept implementaton.
2000-08-17 18:46:15 +00:00
Ulrich Drepper
cd290faab1
Alpha feenableexcept implementation.
2000-08-17 18:45:58 +00:00
Ulrich Drepper
35781b9dd6
Apha fegetexcept implementation.
2000-08-17 18:45:35 +00:00
Ulrich Drepper
d3d5b656c5
(__fdimf): Only declare if __USE_ISOC99.
...
(fdimf, __fdim, fdim): Likewise.
2000-06-07 16:53:09 +00:00
Ulrich Drepper
eb29107be8
Add __THROW to all inlines to match prototypes in mathcalls.h.
2000-06-04 16:10:51 +00:00
Andreas Jaeger
d41b66ce6a
Remove K&R support, use ANSI C prototypes.
2000-05-23 08:42:59 +00:00
Richard Henderson
9dc874df52
* sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
...
of arithmetic instructions.
* sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
with the fpcr. Protect from INV exception.
* sysdeps/alpha/fpu/s_ceilf.c: Likewise.
* sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
* sysdeps/alpha/fpu/s_floorf.c: Likewise.
* sysdeps/alpha/fpu/s_copysign.c: New.
* sysdeps/alpha/fpu/s_copysignf.c: New.
* sysdeps/alpha/fpu/s_fabs.c: New.
* sysdeps/alpha/fpu/s_fabsf.c: New.
* sysdeps/alpha/fpu/s_rint.c: New.
* sysdeps/alpha/fpu/s_rintf.c: New.
2000-03-20 20:32:11 +00:00
Andreas Jaeger
b90be06542
Apply forgotten patch to change default version to 2.2.
2000-02-26 08:13:07 +00:00
Ulrich Drepper
41841677b4
Change default version to GLIBC_2.2.
2000-02-26 01:09:38 +00:00
Ulrich Drepper
9a25e078c3
(__feraiseexcept): Correct declaration to return value.
2000-02-26 00:58:51 +00:00
Ulrich Drepper
2ffceb847f
Update comment.
2000-02-22 05:32:19 +00:00
Ulrich Drepper
16e4bf6fec
Correct return value according to the standard.
2000-01-31 07:56:49 +00:00
Ulrich Drepper
6d1adc8734
Protect definitions for math.h against double inclusion.
1999-12-18 19:36:39 +00:00
Ulrich Drepper
146bade74f
Return value and add alias.
1999-10-31 23:13:47 +00:00
Ulrich Drepper
6c555ab57e
Replace __USE_ISOC9X by __USE_ISOC99 and also recognize _ISOC99_SOURCE.
1999-10-31 17:31:25 +00:00
Ulrich Drepper
0ed67a6c1d
Use new path for e_sqrt.c.
1999-08-02 19:44:27 +00:00
Ulrich Drepper
e261a74e16
Use __GNUC_PREREQ.
1999-06-19 09:57:23 +00:00
Ulrich Drepper
d31690f156
Pretty print.
1999-05-23 10:11:27 +00:00
Ulrich Drepper
8380d4887d
(__floorf): Copy commentary from bits/mathinclude.h. Kill unused defines.
1999-01-29 16:56:01 +00:00
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