Changeset 821a22 in git


Ignore:
Timestamp:
Feb 7, 2008, 2:30:38 PM (15 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
97c4adf4a6c730303b3306e9cd4fe5ff2d3a603a
Parents:
1e36c5c49e03ef1a34a6fa933337372c1c97d6f1
Message:
*** empty log message ***


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

Legend:

Unmodified
Added
Removed
  • kernel/rmodulo2m.cc

    r1e36c5 r821a22  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: rmodulo2m.cc,v 1.14 2008-01-30 10:21:53 wienand Exp $ */
     4/* $Id: rmodulo2m.cc,v 1.15 2008-02-07 13:30:37 wienand Exp $ */
    55/*
    66* ABSTRACT: numbers modulo 2^m
     
    199199BOOLEAN nr2mDivBy (number a,number b)
    200200{
     201  return ((NATNUMBER) a % (NATNUMBER) b) == 0;
     202  /*
    201203  if ((NATNUMBER) a == 0) return TRUE;
    202204  if ((NATNUMBER) b == 0) return FALSE;
     
    207209}
    208210  return ((NATNUMBER) b % 2 == 1);
     211  */
    209212}
    210213
  • kernel/rmodulon.cc

    r1e36c5 r821a22  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: rmodulon.cc,v 1.18 2008-02-06 12:51:41 wienand Exp $ */
     4/* $Id: rmodulon.cc,v 1.19 2008-02-07 13:30:38 wienand Exp $ */
    55/*
    66* ABSTRACT: numbers modulo n
     
    267267BOOLEAN nrnDivBy (number a,number b)
    268268{
     269  return mpz_divisible_p((int_number) a, (int_number) b);
     270  /*
    269271  number bs = nrnGcd(a, b, NULL);
    270272  mpz_tdiv_q((int_number) bs, (int_number) b, (int_number) bs);
     
    272274  nrnDelete(&bs, NULL);
    273275  return res;
     276  */
    274277}
    275278
Note: See TracChangeset for help on using the changeset viewer.