#include #include #include #define TMin INT_MIN #define TMax INT_MAX #include "btest.h" #include "bits.h" test_rec test_set[] = { /* Copyright (C) 1991-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ /* This header is separate from features.h so that the compiler can include it implicitly at the start of every compilation. It must not itself include or any other header that includes because the implicit include comes before any feature test macros that may be defined in a source file before it first explicitly includes a system header. GCC knows the name of this header in order to preinclude it. */ /* We do support the IEC 559 math functionality, real and complex. */ /* wchar_t uses ISO/IEC 10646 (2nd ed., published 2011-03-15) / Unicode 6.0. */ /* We do not support C11 . */ {"isNotEqual", (funct_t) isNotEqual, (funct_t) test_isNotEqual, 2, "! ~ & ^ | + << >>", 6, 20, {{TMin, TMax},{TMin,TMax},{TMin,TMax}}}, {"rempwr2", (funct_t) rempwr2, (funct_t) test_rempwr2, 2, "! ~ & ^ | + << >>", 20, 30, {{TMin, TMax},{0,30},{TMin,TMax}}}, {"logicalShift", (funct_t) logicalShift, (funct_t) test_logicalShift, 2, "! ~ & ^ | + << >>", 20, 30, {{TMin, TMax},{0,31},{TMin,TMax}}}, {"greatestBitPos", (funct_t) greatestBitPos, (funct_t) test_greatestBitPos, 1, "! ~ & ^ | + << >>", 70, 20, {{TMin, TMax},{TMin,TMax},{TMin,TMax}}}, {"", NULL, NULL, 0, "", 0, 0, {{0, 0},{0,0},{0,0}}} };