Ulrich Drepper
3632b95d0a
Protect declarations of inline functions by feature tests to avoid
...
warning about missing prototype declarations.
1997-12-14 22:09:47 +00:00
Ulrich Drepper
ac442bf7a9
(fenv_t): Add member to hold fpiar value, to match spirit of the
...
standard.
1997-12-14 22:09:29 +00:00
Ulrich Drepper
053ed29047
Save/restore fpiar.
1997-12-14 22:09:13 +00:00
Ulrich Drepper
fc1eaef3e8
Don't define ___LIBC_INTERNAL_MATH_INLINES here.
1997-12-03 23:31:37 +00:00
Ulrich Drepper
905714080f
Issue error message if the header is used directly.
1997-11-26 04:14:44 +00:00
Ulrich Drepper
e00fbfc6aa
Define optimizations if __LIBC_INTERNAL_MATH_INLINES is defined.
1997-11-22 18:47:44 +00:00
Ulrich Drepper
e729bad58b
Define __LIBC_INTERNAL_MATH_INLINES instead of
...
__LIBC_M81_MATH_INLINES.
1997-11-22 18:45:43 +00:00
Ulrich Drepper
2ecd6b510f
Define INFINITY as of type float.
...
Define DECIMAL_DIG.
1997-11-13 00:15:53 +00:00
Ulrich Drepper
d2d2125ecd
m68k specific llrint implementation.
1997-11-11 23:48:16 +00:00
Ulrich Drepper
d391bc58dd
Make compilable and fix overflow condition.
1997-11-11 23:47:20 +00:00
Ulrich Drepper
b6d0dce1cc
Add fma and scalbln. Update lrint and scalbn.
...
(__m81_inline) [__cplusplus]: Define to __inline.
1997-10-26 19:59:32 +00:00
Ulrich Drepper
c43ee646dd
Add scalbln alias.
1997-10-26 19:59:09 +00:00
Ulrich Drepper
95d16178a8
New (empty) file.
1997-10-26 19:58:56 +00:00
Ulrich Drepper
f6672b01b5
Add standard skeleton stuff.
1997-10-26 19:58:40 +00:00
Ulrich Drepper
d0b9a80c6e
Rename exp2{,l,f} to __ieee754_exp2{,l,f}.
1997-09-30 16:58:36 +00:00
Ulrich Drepper
80bf28e227
Add empty file to prevent the version from libm-ieee754 be compiled
...
since the later is not needed.
1997-08-10 17:34:46 +00:00
Ulrich Drepper
75dc7e89eb
Don't handle FE_INEXACT specially, the standard doesn't require it.
1997-07-24 01:32:45 +00:00
Ulrich Drepper
216f1b7f7c
Define ISO C9x comparison function always.
1997-07-14 21:44:57 +00:00
Ulrich Drepper
6cabe500f3
(fesetenv): Shift the exception mask in the right position.
1997-07-11 01:13:24 +00:00
Ulrich Drepper
07ce00df82
Shift the exception mask in the right position.
1997-07-11 01:13:11 +00:00
Ulrich Drepper
c49416b519
Correct the FE_INEXACT and FE_UNDERFLOW cases.
1997-07-06 21:45:05 +00:00
Ulrich Drepper
ca50e0187a
Adapated for change of s_ilogb.c.
1997-06-26 22:19:58 +00:00
Ulrich Drepper
3fe409285e
Define it here. Handle zero, NaN and infinity specially.
1997-06-26 22:19:45 +00:00
Ulrich Drepper
8be9676b25
(FP_ILOGB0): Correct value.
1997-06-26 22:19:12 +00:00
Ulrich Drepper
e775757079
Don't undef macros for unordered comparison before definition.
...
Don't define __ilogb.
1997-06-26 22:19:04 +00:00
Ulrich Drepper
5290f57812
Fix type of second argument.
1997-06-23 21:44:36 +00:00
Ulrich Drepper
79c6cc00ff
Rewritten.
1997-06-23 21:44:21 +00:00
Ulrich Drepper
622cae1af0
(FP_ILOGB0, FP_ILOGBNAN): Define.
1997-06-23 21:43:50 +00:00
Ulrich Drepper
1594e779ba
(__scalbn): Fix type of second argument.
...
(__ilogb): Remove special case for zero, add stupid special case for NaN.
(__ieee754_scalb): Remove definition.
1997-06-23 21:43:40 +00:00
Ulrich Drepper
788c7990eb
Moved to bits/.
1997-06-21 02:40:36 +00:00
Ulrich Drepper
15c1225093
m68k w/out FPU specific math inline functions.
1997-06-21 02:34:13 +00:00
Ulrich Drepper
ef8a52eeee
m68k specific math inline functions.
1997-06-21 02:34:00 +00:00
Ulrich Drepper
19b9549252
m68k specific math definitions.
1997-06-21 02:33:02 +00:00
Ulrich Drepper
21bc60d240
m68k specific FP environment definitions.
1997-06-21 02:31:18 +00:00
Ulrich Drepper
0dab1d3494
Remove FIXME and special case for quotient.
1997-06-19 19:05:14 +00:00
Ulrich Drepper
a3baa80ed7
Renamed to s_llrint.
1997-06-19 19:04:58 +00:00
Ulrich Drepper
b09d8d6fc8
Renamed to lrint.
1997-06-19 19:04:54 +00:00
Ulrich Drepper
fd945ccbb4
Implementation of m68k specific lrint function.
1997-06-19 19:04:45 +00:00
Ulrich Drepper
3f6db74934
Implementation of m68k specific llrint function.
1997-06-19 19:04:35 +00:00
Ulrich Drepper
44d86bcbfb
Rename __rinttol to __lrint and rinttol to lrint.
1997-06-19 19:03:16 +00:00
Ulrich Drepper
d981488053
Do it right so that gcc doesn't optimize out the operations.
1997-06-04 19:05:17 +00:00
Ulrich Drepper
c81b73ad0e
(isgreater, isgreaterequal, isless, islessequal, islessgreater,
...
isunordered): Fix assembler syntax.
1997-06-04 19:05:10 +00:00
Ulrich Drepper
08eeb8c0d3
Fix missing negate. Use __m81_test instead of explicit comparisons.
1997-05-29 12:05:37 +00:00
Ulrich Drepper
e7af313d34
Rewritten.
1997-05-07 15:29:27 +00:00
Ulrich Drepper
761edbdece
Don't define huge_val.
1997-05-07 15:29:22 +00:00
Ulrich Drepper
d607f9b1a4
m68k specific complex sine implementation for long double.
1997-05-07 15:28:03 +00:00
Ulrich Drepper
290960f758
m68k specific complex sine implementation for float.
1997-05-07 15:27:51 +00:00
Ulrich Drepper
29b12174ee
m68k specific complex sine implementation for double.
1997-05-07 15:27:44 +00:00
Ulrich Drepper
46a66e25c6
m68k specific complex cosine implementation for long double.
1997-05-07 15:27:27 +00:00
Ulrich Drepper
fc2cf9ae39
m68k specific complex cosine implementation for float.
1997-05-07 15:27:16 +00:00
Ulrich Drepper
bc99330920
m68k specific complex cosine implementation.
1997-05-07 15:27:03 +00:00
Ulrich Drepper
4291e75751
Raise invalid exception for NaN result.
...
Use __m81_test.
1997-05-07 15:26:29 +00:00
Ulrich Drepper
08c2dbb9a2
(__frexp): Don't raise invalid exception on infinite value.
...
(__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
__M81_COND_ZERO): New definitions.
1997-05-07 15:26:19 +00:00
Ulrich Drepper
947a127d2b
m68k specific optimized version of sincos for long double.
1997-04-21 11:38:01 +00:00
Ulrich Drepper
ffe33322db
m68k specific optimized version of sincos for float.
1997-04-21 11:37:48 +00:00
Ulrich Drepper
f119590d6c
m68k specific optimized version of sincos for double.
1997-04-21 11:37:37 +00:00
Ulrich Drepper
334ca6573b
Rewrite handling of integral exponent.
1997-04-21 11:36:58 +00:00
Ulrich Drepper
ecc1637a09
Define optimized versions of isgreater, isgreaterequal, isless,
...
islessequal, islessgreater, and isunordered.
Add inlined sincos{,l,f}.
1997-04-21 11:36:45 +00:00
Ulrich Drepper
c72aa4a26a
m68k specific math exception handling code.
1997-04-17 15:09:43 +00:00
Ulrich Drepper
b1fc9ae289
m68k specific math type and constant definitions.
1997-04-17 15:07:44 +00:00
Ulrich Drepper
27028e9818
remquo implementation for long double according to IEEE.
1997-04-17 15:04:34 +00:00
Ulrich Drepper
6f8f9b3586
remquo implementation for float according to IEEE.
1997-04-17 15:04:17 +00:00
Ulrich Drepper
843682819d
remquo implementation for double according to IEEE.
1997-04-17 15:04:04 +00:00
Ulrich Drepper
cddfc83cf8
m68k specific round long double to long long function.
1997-04-12 23:37:52 +00:00
Ulrich Drepper
bc3bea7963
m68k specific round long double to long function.
1997-04-12 23:37:40 +00:00
Ulrich Drepper
90ad32dd72
(__rinttol, rinttol): New inline.
1997-04-12 23:37:12 +00:00
Ulrich Drepper
5838780e11
Complex sinh function for m68k.
1997-04-11 10:28:26 +00:00
Ulrich Drepper
45b0751eae
Use internal exp function instead of wrapper.
1997-04-11 10:27:30 +00:00
Ulrich Drepper
79aa242491
Complex cosh function for m68k.
1997-04-11 10:27:18 +00:00
Ulrich Drepper
eb32bf34fe
m68k specific implementation for trunc for long double.
1997-04-02 14:46:54 +00:00
Ulrich Drepper
557d7a96e4
m68k specific implementation for trunc for float.
1997-04-02 14:46:42 +00:00
Ulrich Drepper
a9007c976b
m68k specific implementation for trunc for double.
1997-04-02 14:46:33 +00:00
Ulrich Drepper
74988c5489
m68k specific implementation for nearbyint for long double.
1997-04-02 14:46:18 +00:00
Ulrich Drepper
c6686e56ac
m68k specific implementation for nearbyint for float.
1997-04-02 14:46:07 +00:00
Ulrich Drepper
afaabacb82
m68k specific implementation for nearbyint for double.
1997-04-02 14:45:59 +00:00
Ulrich Drepper
b2b29a2638
m68k specific implementation for cexp for long double.
1997-04-02 14:45:25 +00:00
Ulrich Drepper
4a3b70258e
m68k specific implementation for cexp for float.
1997-04-02 14:45:13 +00:00
Ulrich Drepper
bc6dd76e40
m68k specific implementation for cexp for double.
1997-04-02 14:45:04 +00:00
Ulrich Drepper
57d377f1f9
Adapted.
1997-04-02 14:44:29 +00:00
Ulrich Drepper
344114d049
Rewritten.
1997-04-02 14:44:20 +00:00
Ulrich Drepper
62f075cd3b
Use __signbit inline. Write 0.0/0.0 for NaN. Fix typo in test for `y
...
= 0.5'.
1997-04-02 14:44:10 +00:00
Ulrich Drepper
231e25e2a3
Use __signbit inline.
1997-04-02 14:43:52 +00:00
Ulrich Drepper
b9a0a7fbcd
Define __trunc, __signbit, __nearbyint. Remove __modf.
1997-04-02 14:43:44 +00:00
Ulrich Drepper
c7b6ca33fd
Remove because of inaccuracy.
1997-03-25 01:33:52 +00:00
Ulrich Drepper
4a900bdbca
Implementation of log2 function in m68k assembler
1997-03-25 01:33:30 +00:00
Ulrich Drepper
3eb7704ced
Implementation of exp2 function in m68k assembler
1997-03-25 01:33:22 +00:00
Ulrich Drepper
57a52ec851
Rewritten.
1997-03-25 01:31:06 +00:00
Ulrich Drepper
647de4a8f9
(__logb, logb): Don't define.
...
(__ieee754_atan2, __ieee754_pow): Don't define here.
1997-03-25 01:30:32 +00:00
Ulrich Drepper
3b117ce72c
Update feature tests to use __USE_ISOC9X.
...
[__USE_ISOC9X]: Define __log2 and __exp2 inlines.
(fabs): Remove defininition, it is a gcc builtin.
(sqrt, __sqrt): Remove definition, they have wrappers in libm.
1997-03-08 05:08:06 +00:00
Ulrich Drepper
28c50ce97f
update from main archive 970304
1997-03-04 05:53:20 +00:00
Ulrich Drepper
b5ce64efa4
update from main arhive 970119
1997-01-20 02:49:42 +00:00
Ulrich Drepper
1120c0ed16
update from main archive
1996-09-27 03:44:39 +00:00
Ulrich Drepper
69e4430b4d
Why are these removed?
1996-09-21 12:41:17 +00:00
Ulrich Drepper
22a45bf1a8
update from main archive 960919
1996-09-20 01:57:51 +00:00
Ulrich Drepper
16d6b38e4d
update from main archive 960909
1996-09-10 01:59:36 +00:00
Ulrich Drepper
11309adfce
update from main archive 960904
1996-09-05 02:48:53 +00:00
Roland McGrath
74802a5469
Sun Jun 9 20:40:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* sysdeps/m68k/fpu/e_acosl.c: New file.
1996-06-10 09:23:00 +00:00
Roland McGrath
40baa3096b
Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* sysdeps/m68k/fpu/__math.h: Define long double versions of
the inline functions.
* sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
sysdeps/m68k/fpu/e_atanhl.c, sysdeps/m68k/fpu/e_coshl.c: New files.
1996-06-07 21:00:20 +00:00
Roland McGrath
863a5d8290
Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c,
sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c,
sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c,
sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c,
sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c,
sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and
float_type with appropriate defaults.
1996-06-06 05:22:44 +00:00
Roland McGrath
7c2f9239ec
Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* sysdeps/m68k/fpu/__math.h: Define long double versions of
the inline functions.
1996-06-06 05:22:31 +00:00