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