Back to index

plt-scheme  4.2.1
gmp-mparam.h
Go to the documentation of this file.
00001 /* gmp-mparam.h -- Compiler/machine parameter header file.
00002 
00003 Copyright (C) 1991, 1993, 1994 Free Software Foundation, Inc.
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 modify
00008 it under the terms of the GNU Lesser General Public License as published by
00009 the Free Software Foundation; either version 2.1 of the License, or (at your
00010 option) any later version.
00011 
00012 The GNU MP Library is distributed in the hope that it will be useful, but
00013 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00014 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
00015 License for more details.
00016 
00017 You should have received a copy of the GNU Lesser General Public License
00018 along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
00019 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
00020 MA 02111-1307, USA. */
00021 
00022 #ifdef SIZEOF_LONG
00023 # if SIZEOF_LONG == 8
00024 #  define SIXTY_FOUR_BIT_INTEGERS
00025 # endif
00026 #endif
00027 
00028 #if defined(SIXTY_FOUR_BIT_INTEGERS) || defined(_LONG_LONG_LIMB)
00029 # define BITS_PER_MP_LIMB 64
00030 # define BYTES_PER_MP_LIMB 8
00031 #else
00032 # define BITS_PER_MP_LIMB 32
00033 # define BYTES_PER_MP_LIMB 4
00034 #endif