Changeset cb8700 in git for kernel/gnumpfl.cc


Ignore:
Timestamp:
Dec 17, 2007, 7:16:43 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
df1a7e121deb1550a93745377f0fdfc3addcea24
Parents:
d5a95c846fc1517274d3a931d1218317ae501684
Message:
*hannes: 1.6E7


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

Legend:

Unmodified
Added
Removed
  • kernel/gnumpfl.cc

    rd5a95c rcb8700  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: gnumpfl.cc,v 1.4 2007-07-04 09:58:40 Singular Exp $ */
     4/* $Id: gnumpfl.cc,v 1.5 2007-12-17 18:16:43 Singular Exp $ */
    55/*
    66* ABSTRACT: computations with GMP floating-point numbers
     
    394394  // eat the exponent, starts with 'e' followed by '+', '-'
    395395  // and digits, like:
    396   //   e-202, e+393
    397   if ( (s != start) && (*s == 'e') && ((*(s+1) == '+') || (*(s+1) == '-')) )
    398   {
    399     s=s+2; // eat e and sign
     396  //   e-202, e+393, accept also E7
     397  if ( (s != start) && ((*s == 'e')||(*s=='E')))
     398  {
     399    s++; // skip 'e'/'E'
     400    if ((*s == '+') || (*s == '-')) s++;
    400401    while ((*s >= '0' && *s <= '9')) s++;
    401402  }
Note: See TracChangeset for help on using the changeset viewer.