diff options
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/math_ldbl.h')
-rw-r--r-- | sysdeps/ieee754/ldbl-128/math_ldbl.h | 8 |
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) |