glibc/sysdeps/s390/fpu/math-use-builtins-rint.h
Adhemerval Zanella e80501a5c9 math: Decompose math-use-builtins.h
Each symbol definitions are moved on a separated file and it
cover all symbol type definitions (float, double, long double,
and float128).

It allows to set support for architectures without the boiler
place of copying default values.

Checked with a build on the affected ABIs.
2020-06-22 11:09:45 -03:00

16 lines
368 B
C

#ifdef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
# define USE_RINT_BUILTIN 1
# define USE_RINTF_BUILTIN 1
# define USE_RINTL_BUILTIN 1
# if __GNUC_PREREQ (8, 0)
# define USE_RINTF128_BUILTIN 1
# else
# define USE_RINTF128_BUILTIN 0
# endif
#else
# define USE_RINT_BUILTIN 0
# define USE_RINTF_BUILTIN 0
# define USE_RINTL_BUILTIN 0
# define USE_RINTF128_BUILTIN 0
#endif