Back to index

glibc  2.9
gmp-mparam.h
Go to the documentation of this file.
00001 /* gmp-mparam.h -- Compiler/machine parameter header file.
00002    Copyright (C) 2000, 2001 Free Software Foundation, Inc.
00003    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
00004 
00005    This file is part of the GNU MP Library.
00006 
00007    The GNU MP Library is free software; you can redistribute it and/or
00008    modify it under the terms of the GNU Lesser General Public License as
00009    published by the Free Software Foundation; either version 2.1 of the
00010    License, or (at your option) any later version.
00011 
00012    The GNU MP Library is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015    Lesser General Public License for more details.
00016 
00017    You should have received a copy of the GNU Lesser General Public
00018    License along with the GNU C Library; see the file COPYING.LIB.  If not,
00019    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00020    Boston, MA 02111-1307, USA. */
00021 
00022 #include <bits/wordsize.h>
00023 
00024 #define BITS_PER_MP_LIMB    __WORDSIZE
00025 #define BYTES_PER_MP_LIMB   (__WORDSIZE / 8)
00026 #define BITS_PER_LONGINT    __WORDSIZE
00027 #define BITS_PER_INT        32
00028 #define BITS_PER_SHORTINT   16
00029 #define BITS_PER_CHAR              8
00030 
00031 #define IEEE_DOUBLE_BIG_ENDIAN 0