Blame sysdeps/generic/math-use-builtins.h

Packit Service f14753
/* Using math gcc builtins instead of generic implementation.  Generic version.
Packit Service f14753
   Copyright (C) 2019 Free Software Foundation, Inc.
Packit Service f14753
   This file is part of the GNU C Library.
Packit Service f14753
Packit Service f14753
   The GNU C Library is free software; you can redistribute it and/or
Packit Service f14753
   modify it under the terms of the GNU Lesser General Public
Packit Service f14753
   License as published by the Free Software Foundation; either
Packit Service f14753
   version 2.1 of the License, or (at your option) any later version.
Packit Service f14753
Packit Service f14753
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service f14753
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service f14753
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service f14753
   Lesser General Public License for more details.
Packit Service f14753
Packit Service f14753
   You should have received a copy of the GNU Lesser General Public
Packit Service f14753
   License along with the GNU C Library; if not, see
Packit Service f14753
   <https://www.gnu.org/licenses/>.  */
Packit Service f14753
Packit Service f14753
#ifndef MATH_USE_BUILTINS_H
Packit Service f14753
#define MATH_USE_BUILTINS_H	1
Packit Service f14753
Packit Service dd82b2
#include <features.h> /* For __GNUC_PREREQ.  */
Packit Service dd82b2
Packit Service f14753
/* Define these macros to 1 to use __builtin_xyz instead of the
Packit Service f14753
   generic implementation.  */
Packit Service f14753
#define USE_NEARBYINT_BUILTIN 0
Packit Service f14753
#define USE_NEARBYINTF_BUILTIN 0
Packit Service f14753
#define USE_NEARBYINTL_BUILTIN 0
Packit Service f14753
#define USE_NEARBYINTF128_BUILTIN 0
Packit Service f14753
Packit Service a2e3a9
#define USE_RINT_BUILTIN 0
Packit Service a2e3a9
#define USE_RINTF_BUILTIN 0
Packit Service a2e3a9
#define USE_RINTL_BUILTIN 0
Packit Service a2e3a9
#define USE_RINTF128_BUILTIN 0
Packit Service a2e3a9
Packit Service 47d62a
#define USE_FLOOR_BUILTIN 0
Packit Service 47d62a
#define USE_FLOORF_BUILTIN 0
Packit Service 47d62a
#define USE_FLOORL_BUILTIN 0
Packit Service 47d62a
#define USE_FLOORF128_BUILTIN 0
Packit Service 47d62a
Packit Service e50dfc
#define USE_CEIL_BUILTIN 0
Packit Service e50dfc
#define USE_CEILF_BUILTIN 0
Packit Service e50dfc
#define USE_CEILL_BUILTIN 0
Packit Service e50dfc
#define USE_CEILF128_BUILTIN 0
Packit Service e50dfc
Packit Service 614477
#define USE_TRUNC_BUILTIN 0
Packit Service 614477
#define USE_TRUNCF_BUILTIN 0
Packit Service 614477
#define USE_TRUNCL_BUILTIN 0
Packit Service 614477
#define USE_TRUNCF128_BUILTIN 0
Packit Service 614477
Packit Service a996ed
#define USE_ROUND_BUILTIN 0
Packit Service a996ed
#define USE_ROUNDF_BUILTIN 0
Packit Service a996ed
#define USE_ROUNDL_BUILTIN 0
Packit Service a996ed
#define USE_ROUNDF128_BUILTIN 0
Packit Service a996ed
Packit Service dd82b2
#define USE_COPYSIGNL_BUILTIN 1
Packit Service dd82b2
#if __GNUC_PREREQ (7, 0)
Packit Service dd82b2
# define USE_COPYSIGNF128_BUILTIN 1
Packit Service dd82b2
#else
Packit Service dd82b2
# define USE_COPYSIGNF128_BUILTIN 0
Packit Service dd82b2
#endif
Packit Service dd82b2
Packit Service f14753
#endif /* math-use-builtins.h */