Commit Graph

217 Commits

Author SHA1 Message Date
Andreas Schwab
1bd55d8b3a Remove __THROW from inline definitions. 2004-10-09 21:18:03 +00:00
Richard Henderson
154a5429ac * math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h,
and bits/inf.h.
        * math/math.h: Include them.

        * sysdeps/alpha/fpu/bits/mathdef.h, sysdeps/arm/fpu/bits/mathdef.h,
        sysdeps/generic/bits/mathdef.h, sysdeps/i386/fpu/bits/mathdef.h,
        sysdeps/ia64/fpu/bits/mathdef.h, sysdeps/m68k/fpu/bits/mathdef.h,
        sysdeps/mips/fpu/bits/mathdef.h, sysdeps/powerpc/fpu/bits/mathdef.h,
        sysdeps/sh/sh4/fpu/bits/mathdef.h, sysdeps/sparc/fpu/bits/mathdef.h,
        sysdeps/x86_64/fpu/bits/mathdef.h: Remove INFINITY.

        * sysdeps/arm/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
        (HUGE_VALF, HUGE_VALL): Remove.
        * sysdeps/ieee754/bits/huge_val.h: Likewise.
        * sysdeps/sh/bits/huge_val.h: Likewise.

        * sysdeps/generic/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
        * sysdeps/generic/bits/huge_valf.h: New file.
        * sysdeps/generic/bits/huge_vall.h: New file.
        * sysdeps/generic/bits/inf.h: New file.
        * sysdeps/ieee754/bits/huge_valf.h: New file.
        * sysdeps/ieee754/bits/inf.h: New file.
        * sysdeps/i386/bits/huge_val.h: Remove file.
        * sysdeps/i386/bits/huge_vall.h: New file.
        * sysdeps/ia64/bits/huge_val.h: Remove file.
        * sysdeps/ia64/bits/huge_vall.h: New file.
        * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: New file.
        * sysdeps/m68k/bits/huge_val.h: Remove file.
        * sysdeps/m68k/bits/huge_vall.h: New file.
        * sysdeps/s390/bits/huge_val.h: Remove file.
        * sysdeps/sh/sh4/fpu/bits/huge_val.h: Remove file.
        * sysdeps/sparc/bits/huge_vall.h: New file.
        * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Remove file.
        * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Remove file.

        * sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf.
        * sysdeps/mips/bits/nan.h (NAN): Likewise.
2004-03-15 21:44:10 +00:00
Ulrich Drepper
23386e2249 Don't define via builtins. 2004-03-10 05:58:17 +00:00
Andreas Schwab
fbdd196b52 * sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
* sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
	* sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.
2003-06-26 16:18:13 +00:00
Andreas Schwab
0fadfc223d Update. 2003-06-24 11:06:57 +00:00
Andreas Schwab
c33a5b5124 Update. 2003-03-22 21:17:47 +00:00
Andreas Schwab
f3555d4089 Regenerated. 2003-01-09 15:30:03 +00:00
Andreas Schwab
0220ef788b * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal)
(isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]:
	Use GCC builtins.
2002-09-22 16:47:55 +00:00
Ulrich Drepper
280ad607c7 Add libm_hidden_ver. 2002-09-10 01:26:37 +00:00
Ulrich Drepper
d9a08fdfeb (__expm1l): Add libm_hidden_def. 2002-09-10 01:12:49 +00:00
Ulrich Drepper
ce73ae2db2 (__fpclassifyl): Add libm_hidden_def. 2002-09-10 01:11:47 +00:00
Ulrich Drepper
059d7143ed (INTDEFX): Remove.
(hidden_defx): Define and use.
2002-09-10 01:10:41 +00:00
Andreas Schwab
0ee46773b9 Remove INTDEF. 2002-06-13 12:38:20 +00:00
Andreas Schwab
440fb8d5e6 (INTDEFX): Define to get correct expansion order. 2002-06-13 07:52:09 +00:00
Ulrich Drepper
801777ebaf Also define _internal alias. 2002-04-14 17:54:50 +00:00
Andreas Schwab
e60f3fa198 * sysdeps/m68k/fpu/s_finite.c: Add internal alias.
* sysdeps/m68k/fpu/s_finitef.c: Likewise.
	* sysdeps/m68k/fpu/s_finitel.c: Likewise.
2002-04-13 15:41:53 +00:00
Andreas Schwab
dcac2c1ec8 Updated for fixed cbrtl implementation. 2001-10-16 20:21:38 +00:00
Andreas Schwab
2d61dc3cdf Updated. 2001-08-29 21:12:09 +00:00
Andreas Jaeger
3214b89b32 Update to LGPL v2.1. 2001-07-06 04:56:23 +00:00
Andreas Schwab
f702391cdd * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
* sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
2001-06-15 13:59:28 +00:00
Andreas Schwab
2535264f94 Fix typo. 2001-06-14 14:17:49 +00:00
Ulrich Drepper
356aba5785 M68k log2l implementation. 2001-06-06 12:54:56 +00:00
Ulrich Drepper
34583d4c47 M68k log2f implementation. 2001-06-06 12:54:45 +00:00
Ulrich Drepper
27b26c503a M68k log2 implementation. 2001-06-06 12:54:31 +00:00
Ulrich Drepper
0182de12e0 Renamed. 2001-06-06 12:54:01 +00:00
Roland McGrath
60446d7a54 2001-06-01 Roland McGrath <roland@frob.com>
* sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
	and use compat_symbol/versioned_symbol instead of plain
	symbol_version/default_symbol_version.
	* sysdeps/alpha/fpu/fegetenv.c: Likewise.
	* sysdeps/alpha/fpu/fesetenv.c: Likewise.
	* sysdeps/alpha/fpu/feupdateenv.c: Likewise.
	* sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/arm/fpu/fclrexcpt.c: Likewise.
	* sysdeps/arm/fpu/fegetenv.c: Likewise.
	* sysdeps/arm/fpu/fesetenv.c: Likewise.
	* sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/i386/fpu/fclrexcpt.c: Likewise.
	* sysdeps/i386/fpu/fegetenv.c: Likewise.
	* sysdeps/i386/fpu/fesetenv.c: Likewise.
	* sysdeps/i386/fpu/feupdateenv.c: Likewise.
	* sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
	* sysdeps/m68k/fpu/fegetenv.c: Likewise.
	* sysdeps/m68k/fpu/fesetenv.c: Likewise.
	* sysdeps/m68k/fpu/feupdateenv.c: Likewise.
	* sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/powerpc/fclrexcpt.c: Likewise.
	* sysdeps/powerpc/fpu/fegetenv.c: Likewise.
	* sysdeps/powerpc/fpu/fesetenv.c: Likewise.
	* sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
	* sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2001-06-02 05:58:29 +00:00
Andreas Schwab
efaa6dd8a2 * sysdeps/m68k/fpu/libm-test-ulps: Update. 2001-04-20 13:02:01 +00:00
Ulrich Drepper
b0b7e44c75 Adjust for increased precision in result of several tests. 2001-04-17 18:59:43 +00:00
Andreas Schwab
910250c575 Adjusted. 2001-04-11 08:33:14 +00:00
Andreas Schwab
5d0b153553 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
values.
	* sysdeps/m68k/fpu/e_scalb.c: Likewise.
2001-04-10 19:58:52 +00:00
Ulrich Drepper
b33675cd5e Dummy replacement for code not needed here. 2001-03-11 23:25:54 +00:00
Ulrich Drepper
191b842dfe m68k exp2l implementation. 2001-02-17 16:49:41 +00:00
Ulrich Drepper
c79b4fded1 m68k exp2f implementation. 2001-02-17 16:49:28 +00:00
Ulrich Drepper
f1ba5c30fc m68k exp2 implementation. 2001-02-17 16:49:17 +00:00
Ulrich Drepper
00ec1b7df9 Renamed to e_exp2. 2001-02-17 16:46:12 +00:00
Andreas Schwab
ca50de95e8 Correctly handle m68k long double format. 2001-02-16 13:40:22 +00:00
Ulrich Drepper
e8fcfc26e4 Include <float.h>. 2001-01-31 06:34:29 +00:00
Ulrich Drepper
e9a0b83c8f Remove FLT_EVAL_METHOD and DECIMAL_DIG definitions. 2000-12-04 08:37:22 +00:00
Andreas Schwab
a873180d70 Add some more ulps. 2000-10-27 16:22:44 +00:00
Ulrich Drepper
ff86bfcd6b Update after libm-test.inc change. 2000-10-26 17:23:46 +00:00
Andreas Schwab
ee44fc4b60 Updated. 2000-10-23 19:14:22 +00:00
Andreas Schwab
09ac296dc4 Update for changes in libm-test.inc. 2000-10-17 13:24:28 +00:00
Andreas Schwab
f7a43cc94a Ulps for m68k. 2000-09-26 17:34:57 +00:00
Ulrich Drepper
03a34c9bc2 (FP_ILOGB0): Use values which don't produce warnings. 2000-09-01 06:57:40 +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
Andreas Schwab
f10fa39cc7 * sysdeps/m68k/fpu/fegetexcept.c: New file.
* sysdeps/m68k/fpu/fedisblxcpt.c: New file.
* sysdeps/m68k/fpu/feenablxcpt.c: New file.
2000-08-16 15:08:45 +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
Ulrich Drepper
41841677b4 Change default version to GLIBC_2.2. 2000-02-26 01:09:38 +00:00