1 /* Prototype declarations for math classification macros helpers.
2    Copyright (C) 2017-2022 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    <https://www.gnu.org/licenses/>.  */
18 
19 /* Classify given number.  */
20 __MATHDECL_ALIAS (int, __fpclassify,, (_Mdouble_ __value), fpclassify)
21      __attribute__ ((__const__));
22 
23 /* Test for negative number.  */
24 __MATHDECL_ALIAS (int, __signbit,, (_Mdouble_ __value), signbit)
25      __attribute__ ((__const__));
26 
27 /* Return 0 if VALUE is finite or NaN, +1 if it
28    is +Infinity, -1 if it is -Infinity.  */
29 __MATHDECL_ALIAS (int, __isinf,, (_Mdouble_ __value), isinf)
30   __attribute__ ((__const__));
31 
32 /* Return nonzero if VALUE is finite and not NaN.  Used by isfinite macro.  */
33 __MATHDECL_ALIAS (int, __finite,, (_Mdouble_ __value), finite)
34   __attribute__ ((__const__));
35 
36 /* Return nonzero if VALUE is not a number.  */
37 __MATHDECL_ALIAS (int, __isnan,, (_Mdouble_ __value), isnan)
38   __attribute__ ((__const__));
39 
40 /* Test equality.  */
41 __MATHDECL_ALIAS (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y), iseqsig);
42 
43 /* Test for signaling NaN.  */
44 __MATHDECL_ALIAS (int, __issignaling,, (_Mdouble_ __value), issignaling)
45      __attribute__ ((__const__));
46