glibc/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/ldbl-128ibm-compat-abi.h
Gabriel F. T. Gomes 051be01f6b powerpc64le: Enable support for IEEE long double
On platforms where long double may have two different formats, i.e.: the
same format as double (64-bits) or something else (128-bits), building
with -mlong-double-128 is the default and function calls in the user
program match the name of the function in Glibc.  When building with
-mlong-double-64, Glibc installed headers redirect such calls to the
appropriate function.

Likewise, the internals of glibc are now built against IEEE long double.
However, the only (minimally) notable usage of long double is difftime.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2020-04-30 08:52:08 -05:00

9 lines
426 B
C

/* ABI version for long double switch to IEEE 128-bit floating point..
This is used by the Versions and math_ldbl_opt.h files in
sysdeps/ieee754/ldbl-128ibm-compat/. It gives the ABI version where
long double == ibm128 was replaced with long double == _Float128
for libm *l functions and libc functions using long double. */
#define LDBL_IBM128_VERSION GLIBC_2.32
#define LDBL_IBM128_COMPAT_VERSION GLIBC_2_32