Changeset 009d80 in git for kernel/p_Mult_mm__T.cc


Ignore:
Timestamp:
May 10, 2007, 10:12:44 AM (17 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
4cd2f891f36b9e1d58f0aeaa4683254f54088298
Parents:
4bebba7353438f052b4ad581ede34fa6f31e5a71
Message:
new compile switch: HAVE_RINGS
at total there are now: HAVE_RINGS, HAVE_RING2TOM, HAVE_RINGMODN

kspoly.cc, kstd1.cc, kstd2.cc, kutil.cc, kspoly.cc, polys.cc, ring.*:
adaption of new switches and rField_is_Ring method

numbers.*:
introduced new operation:
  nDivBy(a, b) = Is a divisible by b?

pDebig.cc, pInline1.h:
use of new nDivBy method

p_Mult_q:
new routine for rings

p_*, pp_*:
template switch HAVE_ZERODIVISOR

polys1.cc:
poly exponentation, switches

rmodulo*:
nDivBy implementation, DBTest

structs.h:
nDivBy, ringtype, ringflaga, ringflagb


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

Legend:

Unmodified
Added
Removed
  • kernel/p_Mult_mm__T.cc

    r4bebba r009d80  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: p_Mult_mm__T.cc,v 1.5 2007-05-03 13:50:09 wienand Exp $
     9 *  Version: $Id: p_Mult_mm__T.cc,v 1.6 2007-05-10 08:12:42 wienand Exp $
    1010 *******************************************************************/
    1111
     
    3535    pn = pGetCoeff(p);
    3636    number tmp = n_Mult(ln, pn, ri);
    37 #if defined(HAVE_RING2TOM)|| defined(HAVE_RINGMODN)
     37#ifdef HAVE_ZERODIVISORS
    3838    if (n_IsZero(tmp, ri))
    3939    {
     
    5858      p_MemAdd(p->exp, m_e, length);
    5959      p_MemAddAdjust(p, ri);
    60 #if defined(HAVE_RING2TOM)|| defined(HAVE_RINGMODN)
     60#ifdef HAVE_ZERODIVISORS
    6161      before = p;
    6262#endif
Note: See TracChangeset for help on using the changeset viewer.