Changeset 4bef46 in git for factory/int_intdiv.cc


Ignore:
Timestamp:
Jul 1, 1998, 10:06:27 AM (26 years ago)
Author:
Wilfred Pohl <pohl@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
ff8a6bf7c7be4f1ec1339de2dc55a8135db95d1a
Parents:
cc937f74e43377771c4c773fdfefeb95cc1928d3
Message:
smallgmp: mpz_mod_ui


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

Legend:

Unmodified
Added
Removed
  • factory/int_intdiv.cc

    rcc937f7 r4bef46  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: int_intdiv.cc,v 1.4 1998-06-12 14:36:04 schmidt Exp $ */
     2/* $Id: int_intdiv.cc,v 1.5 1998-07-01 08:06:27 pohl Exp $ */
    33
    44//{{{ docu
     
    227227        MP_INT dummy;
    228228        mpz_init( &dummy );
     229#ifdef __MWERKS__
     230    mpz_mod_ui( &dummy, &thempi, tabs( intC ) );
     231        InternalCF * result = int2imm( mpz_get_ui( &dummy ) );
     232#else
    229233        InternalCF * result = int2imm( mpz_mod_ui( &dummy, &thempi, tabs( intC ) ) );
     234#endif
    230235        mpz_clear( &dummy );
    231236        if ( deleteObject() ) delete this;
Note: See TracChangeset for help on using the changeset viewer.