Support bits/floatn.h inclusion from .S files.
[platform/upstream/glibc.git] / bits / floatn.h
1 /* Macros to control TS 18661-3 glibc features.
2    Copyright (C) 2017 Free Software Foundation, Inc.
3    This file is part of the GNU C Library.
4
5    The GNU C Library is free software; you can redistribute it and/or
6    modify it under the terms of the GNU Lesser General Public
7    License as published by the Free Software Foundation; either
8    version 2.1 of the License, or (at your option) any later version.
9
10    The GNU C Library is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13    Lesser General Public License for more details.
14
15    You should have received a copy of the GNU Lesser General Public
16    License along with the GNU C Library; if not, see
17    <http://www.gnu.org/licenses/>.  */
18
19 /* Defined to 1 if the current compiler invocation provides a
20    floating-point type with the IEEE 754 binary128 format, and this glibc
21    includes corresponding *f128 interfaces for it.  */
22 #define __HAVE_FLOAT128 0
23
24 /* Defined to 1 if __HAVE_FLOAT128 is 1 and the type is ABI-distinct
25    from the default float, double and long double types in this glibc.  */
26 #define __HAVE_DISTINCT_FLOAT128 0
27
28 #ifndef __ASSEMBLER__
29
30 /* Defined to concatenate the literal suffix to be used with _Float128
31    types, if __HAVE_FLOAT128 is 1.
32    E.g.: #define __f128(x) x##f128.  */
33 # undef __f128
34
35 /* Defined to a complex binary128 type if __HAVE_FLOAT128 is 1.
36    E.g.: #define __CFLOAT128 _Complex _Float128.  */
37 # undef __CFLOAT128
38
39 #endif /* !__ASSEMBLER__.  */
40
41 #include <bits/floatn-common.h>