glibc/sysdeps/s390/fpu/math-use-builtins-nearbyint.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
413 B
C

#ifdef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
# define USE_NEARBYINT_BUILTIN 1
# define USE_NEARBYINTF_BUILTIN 1
# define USE_NEARBYINTL_BUILTIN 1
# if __GNUC_PREREQ (8, 0)
# define USE_NEARBYINTF128_BUILTIN 1
# else
# define USE_NEARBYINTF128_BUILTIN 0
# endif
#else
# define USE_NEARBYINT_BUILTIN 0
# define USE_NEARBYINTF_BUILTIN 0
# define USE_NEARBYINTL_BUILTIN 0
# define USE_NEARBYINTF128_BUILTIN 0
#endif