modernc.org/cc@v1.0.1/v2/headers/linux_386/usr/include/i386-linux-gnu/bits/mathcalls-helper-functions.h (about) 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. 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 /* Classify given number. */ 20 __MATHDECL_1(int, __fpclassify,, (_Mdouble_ __value)) 21 __attribute__ ((__const__)); 22 23 /* Test for negative number. */ 24 __MATHDECL_1(int, __signbit,, (_Mdouble_ __value)) 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_1(int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__)); 30 31 /* Return nonzero if VALUE is finite and not NaN. Used by isfinite macro. */ 32 __MATHDECL_1(int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__)); 33 34 /* Return nonzero if VALUE is not a number. */ 35 __MATHDECL_1(int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__)); 36 37 /* Test equality. */ 38 __MATHDECL_1(int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y)); 39 40 /* Test for signaling NaN. */ 41 __MATHDECL_1(int, __issignaling,, (_Mdouble_ __value)) 42 __attribute__ ((__const__));