Changeset 4f8867 in git


Ignore:
Timestamp:
Dec 6, 2006, 6:43:32 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
Children:
66164a0545b2353ab285a9633ab9464f021bf294
Parents:
9b3858802c412790bc50b1e328bef75b530b06c8
Message:
*hannes: experimental:HAVE_RING2TOM


git-svn-id: file:///usr/local/Singular/svn/trunk@9544 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/rmodulo2m.cc

    r9b3858 r4f8867  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: rmodulo2m.cc,v 1.5 2006-12-06 16:59:49 wienand Exp $ */
     4/* $Id: rmodulo2m.cc,v 1.6 2006-12-06 17:43:32 Singular Exp $ */
    55/*
    66* ABSTRACT: numbers modulo 2^m
     
    1919#include "rmodulo2m.h"
    2020
    21 
     21#ifdef HAVE_RING2TOM
    2222int nr2mExp;
    2323long nr2mModul;
     
    388388  if (n == 1)
    389389    *a = (number)z;
    390   else 
     390  else
    391391      *a = nr2mDiv((number)z,(number)n);
    392392  return s;
    393393}
    394 
    395 
    396 
     394#endif
  • kernel/rmodulo2m.h

    r9b3858 r4f8867  
    1 //#ifndef RMODULO2M_H
    2 //#define RMODULO2M_H
     1#ifndef RMODULO2M_H
     2#define RMODULO2M_H
    33/****************************************
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: rmodulo2m.h,v 1.2 2006-03-20 20:33:57 wienand Exp $ */
     6/* $Id: rmodulo2m.h,v 1.3 2006-12-06 17:43:32 Singular Exp $ */
    77/*
    88* ABSTRACT: numbers modulo 2^m
    99*/
     10#ifdef HAVE_RING2TOM
    1011#include "structs.h"
    1112
     
    6263#define nr2mNegM(A) (number)(nr2mModul-(long)(A))
    6364#define nr2mEqualM(A,B)  ((A)==(B))
     65
     66#endif
     67#endif
Note: See TracChangeset for help on using the changeset viewer.