Changeset 85e68dd in git for kernel/gnumpfl.cc


Ignore:
Timestamp:
Mar 19, 2008, 6:44:38 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '6e5adcba05493683b94648c659a729c189812c77')
Children:
0e8683ce70a557cd606e08f67660015d94bf8c34
Parents:
36b7a3a23287fa7372c89db467c4ffab4d6268d4
Message:
*hannes: gcc 4.2


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

Legend:

Unmodified
Added
Removed
  • kernel/gnumpfl.cc

    r36b7a3 r85e68dd  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: gnumpfl.cc,v 1.7 2008-02-15 17:13:14 Singular Exp $ */
     4/* $Id: gnumpfl.cc,v 1.8 2008-03-19 17:44:08 Singular Exp $ */
    55/*
    66* ABSTRACT: computations with GMP floating-point numbers
     
    384384}
    385385
    386 char * ngfEatFloatNExp( char * s )
     386static char * ngfEatFloatNExp(char * s )
    387387{
    388388  char *start= s;
     
    410410* extracts the number a from s, returns the rest
    411411*/
    412 char * ngfRead (char * s, number * a)
    413 {
    414   char *start= s;
     412const char * ngfRead (const char * start, number * a)
     413{
     414  char *s= (char *)start;
    415415
    416416  //Print("%s\n",s);
     
    435435    {
    436436      s++;
    437       s= ngfEatFloatNExp( s );
     437      s= ngfEatFloatNExp( (char *)s );
    438438      if (s!= start2+1)
    439439      {
     
    484484
    485485#ifdef LDEBUG
    486 BOOLEAN ngfDBTest(number a, char *f, int l)
    487 {
    488   return TRUE;
    489 }
     486//BOOLEAN ngfDBTest(number a, const char *f, const int l)
     487//{
     488//  return TRUE;
     489//}
    490490#endif
    491491
Note: See TracChangeset for help on using the changeset viewer.