about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128/math_ldbl.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-15 18:26:25 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-15 18:26:25 +0000
commit3fe4dc4156af9255fe86b5040c2538e9d7f5459d (patch)
tree41035dba0db535ec39ee7b746c96e05958274dc4 /sysdeps/ieee754/ldbl-128/math_ldbl.h
parent446d213c35105852d345b7cc72d71dd65d15d8ef (diff)
downloadglibc-3fe4dc4156af9255fe86b5040c2538e9d7f5459d.tar.gz
glibc-3fe4dc4156af9255fe86b5040c2538e9d7f5459d.tar.xz
glibc-3fe4dc4156af9255fe86b5040c2538e9d7f5459d.zip
Update.
1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>

	* math/Makefile: Add t_sincosl and k_sincosl support routines.
	* math/math_private.h (__kernel_sincosl): New declaration.
	* sysdeps/generic/t_sincosl.c: New file.
	* sysdeps/generic/k_sincosl.c: New file.
	* sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
	* sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
	* sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
	* sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
	* sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
	* sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
	__kernel_sincosl.
	* sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
	definition.
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/math_ldbl.h')
-rw-r--r--sysdeps/ieee754/ldbl-128/math_ldbl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-128/math_ldbl.h b/sysdeps/ieee754/ldbl-128/math_ldbl.h
index aecb20a972..b3faa04846 100644
--- a/sysdeps/ieee754/ldbl-128/math_ldbl.h
+++ b/sysdeps/ieee754/ldbl-128/math_ldbl.h
@@ -80,3 +80,11 @@ do {								\
   (d) = sh_u.value;						\
 } while (0)
 
+/* Get the least significant 64 bits of a long double mantissa.  */
+
+#define GET_LDOUBLE_LSW64(v,d)					\
+do {								\
+  ieee854_long_double_shape_type sh_u;				\
+  sh_u.value = (d);						\
+  (v) = sh_u.parts64.lsw;					\
+} while (0)