Changeset b2bae5 in git


Ignore:
Timestamp:
Jul 8, 1999, 7:17:23 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
63374c2a45ce7f0660de1047f95a58b4d23d5055
Parents:
a2d44acc243e88c5c454431bcd3f88a63735a43e
Message:
*hannes: optimisation/clean up


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

Legend:

Unmodified
Added
Removed
  • Singular/mpr_complex.cc

    ra2d44a rb2bae5  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: mpr_complex.cc,v 1.13 1999-07-08 10:18:11 wenk Exp $ */
     4/* $Id: mpr_complex.cc,v 1.14 1999-07-08 17:17:23 Singular Exp $ */
    55
    66/*
     
    1414#include "mod2.h"
    1515//#ifdef HAVE_MPR
     16#include "tok.h"
    1617#include "structs.h"
    1718#include "febase.h"
     
    279280  {
    280281    *size= 2*sizeof(char);
    281     out= (char*)AllocL( *size );
    282     strcpy(out,"0");
    283     return out;
    284   }
    285 
    286   if ( ((unsigned int)abs(exponent) <= oprec)
     282    return mstrdup("0");
     283  }
     284
     285  if ( ((unsigned int)ABS(exponent) <= oprec)
    287286       /*|| (exponent+sign >= (int)strlen(in))*/ )
    288287  {
Note: See TracChangeset for help on using the changeset viewer.