Changeset c262d5 in git


Ignore:
Timestamp:
May 10, 2011, 6:05:36 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
19cbad8b674bba814480e714d429181b1ecf46e4
Parents:
189f834f5306268cf155678ca0f3265c2568599c
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-10 18:05:36+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:34:44+01:00
Message:
warnings removed from modulop.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/modulop.cc

    r189f83 rc262d5  
    7777}
    7878
    79 BOOLEAN npIsZero (number  a, const coeffs r)
     79BOOLEAN npIsZero (number  a, const coeffs)
    8080{
    8181  return 0 == (long)a;
    8282}
    8383
    84 BOOLEAN npIsOne (number a, const coeffs r)
     84BOOLEAN npIsOne (number a, const coeffs)
    8585{
    8686  return 1 == (long)a;
     
    194194}
    195195
    196 BOOLEAN npGreater (number a,number b, const coeffs r)
     196BOOLEAN npGreater (number a,number b, const coeffs)
    197197{
    198198  //return (long)a != (long)b;
     
    283283*/
    284284
    285 void npSetChar(const coeffs r)
     285void npSetChar(const coeffs)
    286286{
    287287#if !defined(HAVE_DIV_MOD) || !defined(HAVE_MULT_MOD)
     
    328328  {
    329329    assume(0);
     330    return NULL;
    330331  }
    331332}
     
    495496}
    496497
    497 static number npMapLongR(number from, const coeffs src, const coeffs dst_r)
     498static number npMapLongR(number from, const coeffs /*src*/, const coeffs dst_r)
    498499{
    499500  gmp_float *ff=(gmp_float*)from;
     
    502503  mpz_ptr dest,ndest;
    503504  int size,i;
    504   int e,al,bl,in;
     505  int e,al,bl;
    505506  long iz;
    506507  mp_ptr qp,dd,nn;
     
    529530  dest = res->z;
    530531
     532  int in=0;
    531533  if (e<0)
    532534  {
     
    570572* convert from a GMP integer
    571573*/
    572 number npMapGMP(number from, const coeffs src, const coeffs dst)
     574number npMapGMP(number from, const coeffs /*src*/, const coeffs dst)
    573575{
    574576  int_number erg = (int_number) omAlloc(sizeof(mpz_t)); // evtl. spaeter mit bin
     
    586588* convert from an machine long
    587589*/
    588 number npMapMachineInt(number from, const coeffs src,const coeffs dst)
     590number npMapMachineInt(number from, const coeffs /*src*/,const coeffs dst)
    589591{
    590592  long i = (long) (((unsigned long) from) % dst->npPrimeM);
     
    594596
    595597#ifdef HAVE_FACTORY
    596 number npMapCanonicalForm (number a, const coeffs src, const coeffs dst)
     598number npMapCanonicalForm (number a, const coeffs /*src*/, const coeffs dst)
    597599{
    598600  setCharacteristic (dst ->npPrimeM);
     
    664666long nvInvMod(long a, const coeffs R)
    665667{
    666    long  s, t;
     668   long  s;
    667669
    668670   long  u, v, u0, v0, u1, v1, u2, v2, q, r;
Note: See TracChangeset for help on using the changeset viewer.