Changeset c81a40 in git for kernel/structs.h


Ignore:
Timestamp:
Jul 16, 2008, 2:41:33 PM (16 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c88c2ba361f5b914ed9b192a055274f0a74cdf04
Parents:
e3164c057b351ebc7de36b8955221b4cb648bdbe
Message:
Maps für Bigint
Modul bei Z/m wird nun als GMP gespeichert


git-svn-id: file:///usr/local/Singular/svn/trunk@10870 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/structs.h

    re3164c rc81a40  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: structs.h,v 1.50 2008-07-15 16:27:58 motsak Exp $ */
     6/* $Id: structs.h,v 1.51 2008-07-16 12:41:33 wienand Exp $ */
    77/*
    88* ABSTRACT
     
    1010
    1111#include <string.h> /* for memset */
     12#ifdef HAVE_RINGS
     13#include <gmp.h>
     14#endif
    1215
    1316#ifndef NATNUMBER
     
    1821typedef unsigned char  uchar;
    1922typedef unsigned short CARDINAL;
     23#ifdef HAVE_RINGS
     24typedef MP_INT *int_number;
     25#endif
    2026#if (SIZEOF_LONG == 8)
    2127typedef int BOOLEAN;
     
    582588  int        ch;     /* characteristic */
    583589#ifdef HAVE_RINGS
    584   unsigned int ringtype;  /* cring = 0 => coefficient field, cring = 1 => coeffs from Z/2^m */
    585   unsigned long long ringflaga;
     590  unsigned int  ringtype;  /* cring = 0 => coefficient field, cring = 1 => coeffs from Z/2^m */
     591  int_number    ringflaga;
    586592  unsigned long ringflagb;
    587593#endif
Note: See TracChangeset for help on using the changeset viewer.