Changeset c880d63 in git for Singular/modulop.cc


Ignore:
Timestamp:
Nov 16, 2000, 5:56:20 PM (24 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
Children:
62fd53cec458e099a9121f16ac8739afbec4235d
Parents:
133c5d3687bc9924340e9a7cbd2da5491585849a
Message:
*hannes: n_Procs


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

Legend:

Unmodified
Added
Removed
  • Singular/modulop.cc

    r133c5d rc880d63  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: modulop.cc,v 1.17 2000-09-18 09:19:18 obachman Exp $ */
     4/* $Id: modulop.cc,v 1.18 2000-11-16 16:54:25 Singular Exp $ */
    55/*
    66* ABSTRACT: numbers modulo p (<=32003)
     
    4747number npInit (int i)
    4848{
    49   while (i <  0)        i += npPrimeM;
    50   while (i >= npPrimeM) i -= npPrimeM;
     49  while (i <  0)                   i += npPrimeM;
     50  while ((i>1) && (i >= npPrimeM)) i -= npPrimeM;
    5151  return (number)i;
    5252}
     
    201201*/
    202202
    203 void npSetChar(int c)
     203void npSetChar(int c, ring r)
    204204{
    205205  int i, w;
Note: See TracChangeset for help on using the changeset viewer.