summaryrefslogtreecommitdiff
path: root/packages/glibc/2.17/0022-glibc-powerpc-ldbl_high.patch
blob: fd0f43967b4e9daadc2e739fb8f23e260eca0db1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
 sysdeps/ieee754/ldbl-128ibm/math_ldbl.h |    3 +++
 1 file changed, 3 insertions(+)

--- a/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
+++ b/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
@@ -149,6 +149,9 @@
 # define ldbl_unpack default_ldbl_unpack
 #endif
 
+/* Extract high double.  */
+#define ldbl_high(x) ((double) x)
+
 /* Convert a finite long double to canonical form.
    Does not handle +/-Inf properly.  */
 static inline void