Changeset 7cf3df1 in git


Ignore:
Timestamp:
Mar 25, 2014, 6:26:22 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
26db1ae149e9978a97b0ac191b53d75e9728f439
Parents:
706551b8742b3f376863feefc0871cbefa877055
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-03-25 18:26:22+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-03-25 18:50:07+01:00
Message:
removed getGMPFloatDigits
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r706551b r7cf3df1  
    8383
    8484#include <kernel/minpoly.h>
     85
     86#include <numeric/mpr_base.h>
    8587
    8688#include "tok.h"
     
    676678        }
    677679        res->rtyp=INT_CMD;
    678         res->data=(void*)getGMPFloatDigits();
     680        res->data=(void*)(long)gmp_output_digits;
     681        //if (gmp_output_digits!=getGMPFloatDigits())
     682        //{ Print("%d, %d\n",getGMPFloatDigits(),gmp_output_digits);}
    679683        return FALSE;
    680684      }
  • kernel/numeric/mpr_numeric.cc

    r706551b r7cf3df1  
    580580
    581581  gmp_float epss(0.1);
    582   mpf_pow_ui(*epss._mpfp(),*epss.mpfp(),getGMPFloatDigits());
     582  mpf_pow_ui(*epss._mpfp(),*epss.mpfp(),gmp_output_digits);
    583583
    584584  for ( iter= 1; iter <= MAXIT; iter++ )
  • libpolys/coeffs/mpr_complex.cc

    r706551b r7cf3df1  
    7070  mpf_set_d(*gmpRel->_mpfp(),0.1);
    7171  mpf_pow_ui(*gmpRel->_mpfp(),*gmpRel->_mpfp(),digits);
    72 }
    73 
    74 size_t getGMPFloatDigits()
    75 {
    76   return gmp_output_digits;
    7772}
    7873
  • libpolys/coeffs/mpr_complex.h

    r706551b r7cf3df1  
    2222
    2323void setGMPFloatDigits( size_t digits, size_t rest );
    24 size_t getGMPFloatDigits();
    2524
    2625//-> class gmp_float
Note: See TracChangeset for help on using the changeset viewer.