Changeset 126cfa in git for Singular/mpsr_PutPoly.cc


Ignore:
Timestamp:
May 4, 1997, 1:11:54 PM (27 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0bbd0edd89d414dafebcc5580e22fe46da78612c
Parents:
1eed4ee3e5d96c4420bb542d28e2fe2f8facab45
Message:
Sun May  4 11:14:44 1997  Olaf Bachmann
<obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)>

	* Added make target mpcheck; Update INSTALL file

	* mpsr_PutPoly.cc (PutRationalNumber): Normalize if number->s == 0
	  and not if number->s == 2

	* mpsr_GetPoly.cc (GetGaloisNumber): Introduced special routines,
	  since npInit op in GetModuloNumber messed things up


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

Legend:

Unmodified
Added
Removed
  • Singular/mpsr_PutPoly.cc

    r1eed4e r126cfa  
    33****************************************/
    44
    5 /* $Id: mpsr_PutPoly.cc,v 1.6 1997-05-02 22:09:29 obachman Exp $ */
     5/* $Id: mpsr_PutPoly.cc,v 1.7 1997-05-04 11:11:54 obachman Exp $ */
    66
    77/***************************************************************
     
    161161  // Now we have a fraction
    162162  // normalize, if necessary
    163   if ((a->s) == 2)
     163  if ((a->s) == 0)
     164  {
    164165    nlNormalize(a);
     166    return PutRationalNumber(link, a);
     167  }
     168 
    165169  // send number itself
    166170  mp_failr(MP_PutCommonOperatorPacket(link,
Note: See TracChangeset for help on using the changeset viewer.