From adfa20781b59473b9514c6c4bef40ea909a6eacd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 31 Aug 1996 00:13:23 +0000 Subject: update from main archive 960830 Fri Aug 30 19:55:27 1996 Ulrich Drepper * libio/genops.c: Make _cleanup an alias of _IO_cleanup. Reported by Erik Troan. Fri Aug 30 15:40:04 1996 Ulrich Drepper * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. Fri Aug 30 13:53:32 1996 Andreas Jaeger * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5. Fri Aug 30 13:01:10 1996 NIIBE Yutaka * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get real result. Fri Aug 30 03:33:33 1996 Ulrich Drepper * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double' implementation. * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S. --- math/math_private.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'math') diff --git a/math/math_private.h b/math/math_private.h index 850442c..a7a4f3d 100644 --- a/math/math_private.h +++ b/math/math_private.h @@ -204,6 +204,15 @@ do { \ (d) = iw_u.value; \ } while (0) +/* Get the more significant 32 bits of a long double mantissa. */ + +#define GET_LDOUBLE_MSW(v,d) \ +do { \ + ieee_long_double_shape_type sh_u; \ + sh_u.value = (d); \ + (v) = sh_u.parts.msw; \ +} while (0) + /* Set the more significant 32 bits of a long double mantissa from an int. */ #define SET_LDOUBLE_MSW(d,v) \ -- cgit v1.1