1/* gmp-mparam.h -- Compiler/machine parameter header file. 2Copyright (C) 1991,93,94,2002 Free Software Foundation, Inc. 3 4This file is part of the GNU MP Library. 5 6The GNU MP Library is free software; you can redistribute it and/or modify 7it under the terms of the GNU Lesser General Public License as published by 8the Free Software Foundation; either version 2.1 of the License, or (at your 9option) any later version. 10 11The GNU MP Library is distributed in the hope that it will be useful, but 12WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 13or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 14License for more details. 15 16You should have received a copy of the GNU Lesser General Public License 17along with the GNU MP Library; see the file COPYING.LIB. If not, write to 18the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, 19MA 02111-1307, USA. */ 20 21#include <bits/wordsize.h> 22 23#define BITS_PER_MP_LIMB __WORDSIZE 24#define BYTES_PER_MP_LIMB (__WORDSIZE / 8) 25#define BITS_PER_LONGINT __WORDSIZE 26#define BITS_PER_INT 32 27#define BITS_PER_SHORTINT 16 28#define BITS_PER_CHAR 8 29