hurd: SOCK_CLOEXEC and SOCK_NONBLOCK for socketpair
[glibc.git] / math / bits / mathcalls-helper-functions.h
blobac3115bfdc8e42ea83feb028e1b82eeb30c76ba1
1 /* Prototype declarations for math classification macros helpers.
2 Copyright (C) 2017-2018 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/>. */
20 /* Classify given number. */
21 __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value))
22 __attribute__ ((__const__));
24 /* Test for negative number. */
25 __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value))
26 __attribute__ ((__const__));
28 /* Return 0 if VALUE is finite or NaN, +1 if it
29 is +Infinity, -1 if it is -Infinity. */
30 __MATHDECL_1 (int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
32 /* Return nonzero if VALUE is finite and not NaN. Used by isfinite macro. */
33 __MATHDECL_1 (int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
35 /* Return nonzero if VALUE is not a number. */
36 __MATHDECL_1 (int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
38 /* Test equality. */
39 __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
41 /* Test for signaling NaN. */
42 __MATHDECL_1 (int, __issignaling,, (_Mdouble_ __value))
43 __attribute__ ((__const__));