Changeset 929cf9 in git


Ignore:
Timestamp:
Oct 10, 1997, 12:57:48 PM (27 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
22743edef32154f9a0bbfd10c5075928daa14da4
Parents:
143cbf291e94548c9b354db86ff04f8fbf4fb123
Message:
	* int_pp.cc: superfluous arguments removed


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

Legend:

Unmodified
Added
Removed
  • factory/int_pp.cc

    r143cbf2 r929cf9  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: int_pp.cc,v 1.5 1997-09-10 15:42:36 schmidt Exp $ */
     2/* $Id: int_pp.cc,v 1.6 1997-10-10 10:57:48 schmidt Exp $ */
    33
    44#include <config.h>
     
    269269}
    270270
    271 InternalCF* InternalPrimePower::modulosame( InternalCF * c )
     271InternalCF *
     272InternalPrimePower::modulosame ( InternalCF * )
    272273{
    273274    if ( deleteObject() ) delete this;
     
    275276}
    276277
    277 InternalCF* InternalPrimePower::modsame( InternalCF * c )
     278InternalCF *
     279InternalPrimePower::modsame ( InternalCF * )
    278280{
    279281    if ( deleteObject() ) delete this;
     
    281283}
    282284
    283 void InternalPrimePower::divremsame( InternalCF * c, InternalCF*& quot, InternalCF*& rem )
     285void
     286InternalPrimePower::divremsame ( InternalCF * c, InternalCF * & quot, InternalCF * & rem )
    284287{
    285288    if ( c == this ) {
     
    302305}
    303306
    304 bool InternalPrimePower::divremsamet( InternalCF* c, InternalCF*& quot, InternalCF*& rem )
     307bool
     308InternalPrimePower::divremsamet ( InternalCF * c, InternalCF * & quot, InternalCF * & rem )
    305309{
    306310    divremsame( c, quot, rem );
     
    308312}
    309313
    310 int InternalPrimePower::comparecoeff( InternalCF* c )
     314int
     315InternalPrimePower::comparecoeff ( InternalCF * )
    311316{
    312317    ASSERT( 0, "this function should never be called" );
     
    314319}
    315320
    316 InternalCF* InternalPrimePower::addcoeff( InternalCF* c )
    317 {
    318     ASSERT( 0, "this function should never be called" );
    319     return this;
    320 }
    321 
    322 InternalCF* InternalPrimePower::subcoeff( InternalCF* c, bool negate )
    323 {
    324     ASSERT( 0, "this function should never be called" );
    325     return this;
    326 }
    327 
    328 InternalCF* InternalPrimePower::mulcoeff( InternalCF* c )
    329 {
    330     ASSERT( 0, "this function should never be called" );
    331     return this;
    332 }
    333 
    334 InternalCF* InternalPrimePower::dividecoeff( InternalCF* c, bool invert )
    335 {
    336     ASSERT( 0, "this function should never be called" );
    337     return this;
    338 }
    339 
    340 InternalCF* InternalPrimePower::divcoeff( InternalCF* c, bool invert )
    341 {
    342     ASSERT( 0, "this function should never be called" );
    343     return this;
    344 }
    345 
    346 InternalCF* InternalPrimePower::modcoeff( InternalCF* c, bool invert )
    347 {
    348     ASSERT( 0, "this function should never be called" );
    349     return this;
    350 }
    351 
    352 InternalCF* InternalPrimePower::modulocoeff( InternalCF* c, bool invert )
    353 {
    354     ASSERT( 0, "this function should never be called" );
    355     return this;
    356 }
    357 
    358 void InternalPrimePower::divremcoeff( InternalCF* c, InternalCF*& quot, InternalCF*& rem, bool invert )
    359 {
    360     ASSERT( 0, "this function should never be called" );
    361 }
    362 
    363 bool InternalPrimePower::divremcoefft( InternalCF* c, InternalCF*& quot, InternalCF*& rem, bool invert )
     321InternalCF *
     322InternalPrimePower::addcoeff ( InternalCF * )
     323{
     324    ASSERT( 0, "this function should never be called" );
     325    return this;
     326}
     327
     328InternalCF *
     329InternalPrimePower::subcoeff ( InternalCF *, bool )
     330{
     331    ASSERT( 0, "this function should never be called" );
     332    return this;
     333}
     334
     335InternalCF *
     336InternalPrimePower::mulcoeff ( InternalCF * )
     337{
     338    ASSERT( 0, "this function should never be called" );
     339    return this;
     340}
     341
     342InternalCF *
     343InternalPrimePower::dividecoeff ( InternalCF *, bool )
     344{
     345    ASSERT( 0, "this function should never be called" );
     346    return this;
     347}
     348
     349InternalCF *
     350InternalPrimePower::divcoeff ( InternalCF *, bool )
     351{
     352    ASSERT( 0, "this function should never be called" );
     353    return this;
     354}
     355
     356InternalCF *
     357InternalPrimePower::modcoeff ( InternalCF *, bool )
     358{
     359    ASSERT( 0, "this function should never be called" );
     360    return this;
     361}
     362
     363InternalCF *
     364InternalPrimePower::modulocoeff ( InternalCF *, bool )
     365{
     366    ASSERT( 0, "this function should never be called" );
     367    return this;
     368}
     369
     370void
     371InternalPrimePower::divremcoeff ( InternalCF *, InternalCF * &, InternalCF * &, bool )
     372{
     373    ASSERT( 0, "this function should never be called" );
     374}
     375
     376bool
     377InternalPrimePower::divremcoefft ( InternalCF *, InternalCF * &, InternalCF * &, bool )
    364378{
    365379    ASSERT( 0, "this function should never be called" );
     
    367381}
    368382
    369 int InternalPrimePower::intval() const
     383int
     384InternalPrimePower::intval () const
    370385{
    371386  return (int)mpz_get_si( &thempi );
    372387}
    373388
    374 int InternalPrimePower::intmod( int p ) const
     389int
     390InternalPrimePower::intmod( int p ) const
    375391{
    376392  return (int)mpz_mmod_ui( 0, &thempi, (unsigned long)p );
Note: See TracChangeset for help on using the changeset viewer.