tr_TR locale: Base collation on iso14651_t1 [BZ #22527]
[glibc.git] / sysdeps / generic / libm-alias-float.h
blob11bd472a5334dcdd1b7b4767e02f2fd0b003542b
1 /* Define aliases for libm float functions.
2 Copyright (C) 2017 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
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.
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.
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/>. */
19 #ifndef _LIBM_ALIAS_FLOAT_H
20 #define _LIBM_ALIAS_FLOAT_H
22 /* Define _FloatN / _FloatNx aliases for a float libm function that
23 has internal name FROM ## f ## R and public names TO ## suffix ## R
24 for each suffix of a supported _FloatN / _FloatNx floating-point
25 type with the same format as float. */
26 #define libm_alias_float_other_r(from, to, r)
28 /* Likewise, but without the R suffix. */
29 #define libm_alias_float_other(from, to) \
30 libm_alias_float_other_r (from, to, )
32 /* Define aliases for a float libm function that has internal name
33 FROM ## f ## R and public names TO ## suffix ## R for each suffix
34 of a supported floating-point type with the same format as float.
35 This should only be used for functions where such public names
36 exist for _FloatN types, not for implementation-namespace exported
37 names (where there is one name per format, not per type) or for
38 obsolescent functions not provided for _FloatN types. */
39 #define libm_alias_float_r(from, to, r) \
40 weak_alias (from ## f ## r, to ## f ## r) \
41 libm_alias_float_other_r (from, to, r)
43 /* Likewise, but without the R suffix. */
44 #define libm_alias_float(from, to) libm_alias_float_r (from, to, )
46 #endif