]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/generic/gmp-mparam.h
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / generic / gmp-mparam.h
CommitLineData
28f540f4 1/* gmp-mparam.h -- Compiler/machine parameter header file.
b168057a 2Copyright (C) 1991-2015 Free Software Foundation, Inc.
28f540f4
RM
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
6d84f89a
AJ
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
28f540f4
RM
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
6d84f89a 13or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
28f540f4
RM
14License for more details.
15
6d84f89a 16You should have received a copy of the GNU Lesser General Public License
59ba27a6
PE
17along with the GNU MP Library; see the file COPYING.LIB. If not, see
18<http://www.gnu.org/licenses/>. */
28f540f4 19
800a312a
RM
20#include <bits/wordsize.h>
21
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