]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/ieee754/ldbl-128ibm/e_coshl.c
PowerPC floating point little-endian [2 of 15]
[thirdparty/glibc.git] / sysdeps / ieee754 / ldbl-128ibm / e_coshl.c
index 3e8e1875c6cd576c500a11744456aaade02e403a..05683bc02feaec95eea92d2129c4b24e499fa60c 100644 (file)
@@ -41,9 +41,11 @@ __ieee754_coshl (long double x)
 {
        long double t,w;
        int64_t ix;
+       double xhi;
 
     /* High word of |x|. */
-       GET_LDOUBLE_MSW64(ix,x);
+       xhi = ldbl_high (x);
+       EXTRACT_WORDS64 (ix, xhi);
        ix &= 0x7fffffffffffffffLL;
 
     /* x is INF or NaN */