Changeset 47c8f1 in git


Ignore:
Timestamp:
Aug 24, 2001, 3:54:03 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
980f81278a88f06d75611e94f0856a5166143d1d
Parents:
ed7cb57f327a1e9fc4d29a003b4d88fd8a764047
Message:
*hannes: 2-0-2 merge


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

Legend:

Unmodified
Added
Removed
  • Singular/longrat.h

    red7cb5 r47c8f1  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: longrat.h,v 1.23 2001-03-22 19:11:07 Singular Exp $ */
     6/* $Id: longrat.h,v 1.24 2001-08-24 13:54:03 Singular Exp $ */
    77/*
    88* ABSTRACT: computation with long rational numbers
     
    4141struct snumber;
    4242typedef struct snumber rnumber;
     43typedef rnumber * number;
    4344struct snumber
    4445{
     
    6566LINLINE BOOLEAN  nlIsZero(number za);
    6667LINLINE number   nlCopy(number a);
    67 LINLINE number   nl_Copy(number a, ring r);
    6868LINLINE void     nlNew(number *r);
    6969LINLINE void     nlDelete(number *a, const ring r);
     
    7373LINLINE number   nlMult(number a, number b);
    7474
     75number   nlInit2 (int i, int j);
    7576number   nlGcd(number a, number b, const ring r);
    7677number   nlLcm(number a, number b, const ring r);   /*special routine !*/
     
    9596BOOLEAN  nlDBTest(number a, char *f, int l);
    9697#endif
     98extern number nlOne;
    9799
    98100nMapFunc nlSetMap(ring src, ring dst);
  • Singular/numbers.cc

    red7cb5 r47c8f1  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: numbers.cc,v 1.41 2001-03-22 19:11:07 Singular Exp $ */
     4/* $Id: numbers.cc,v 1.42 2001-08-24 13:54:03 Singular Exp $ */
    55
    66/*
     
    9090
    9191number ndCopy(number a) { return a; }
    92 number nd_Copy(number a, ring r) { return a; }
    9392
    9493/*2
     
    224223  r->cf->cfDelete= ndDelete;
    225224  r->cf->nNew=nDummy1;
    226   r->cf->nCopy  = ndCopy;
    227   r->cf->cfCopy  = nd_Copy;
    228225  if (rField_is_Extension(r))
    229226  {
     
    246243    r->cf->nInvers     = naInvers;
    247244    r->cf->nCopy       = naCopy;
    248     r->cf->cfCopy      = na_Copy;
    249245    r->cf->nGreater    = naGreater;
    250246    r->cf->nEqual      = naEqual;
     
    283279    r->cf->nInvers= nlInvers;
    284280    r->cf->nCopy  = nlCopy;
    285     r->cf->cfCopy  = nl_Copy;
    286281    r->cf->nGreater = nlGreater;
    287282    r->cf->nEqual = nlEqual;
     
    318313    r->cf->nNeg   = npNeg;
    319314    r->cf->nInvers= npInvers;
     315    r->cf->nCopy  = ndCopy;
    320316    r->cf->nGreater = npGreater;
    321317    r->cf->nEqual = npEqual;
     
    354350    r->cf->nNeg   = nfNeg;
    355351    r->cf->nInvers= nfInvers;
     352    r->cf->nCopy  = ndCopy;
    356353    r->cf->nGreater = nfGreater;
    357354    r->cf->nEqual = nfEqual;
     
    388385    r->cf->nNeg   = nrNeg;
    389386    r->cf->nInvers= nrInvers;
     387    r->cf->nCopy  = ndCopy;
    390388    r->cf->nGreater = nrGreater;
    391389    r->cf->nEqual = nrEqual;
     
    424422    r->cf->nInvers= ngfInvers;
    425423    r->cf->nCopy  = ngfCopy;
    426     r->cf->cfCopy  = ngf_Copy;
    427424    r->cf->nGreater = ngfGreater;
    428425    r->cf->nEqual = ngfEqual;
     
    461458    r->cf->nInvers= ngcInvers;
    462459    r->cf->nCopy  = ngcCopy;
    463     r->cf->cfCopy = ngc_Copy;
    464460    r->cf->nGreater = ngcGreater;
    465461    r->cf->nEqual = ngcEqual;
Note: See TracChangeset for help on using the changeset viewer.