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