Changeset cb8700 in git for kernel/gnumpfl.cc
- Timestamp:
- Dec 17, 2007, 7:16:43 PM (16 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- df1a7e121deb1550a93745377f0fdfc3addcea24
- Parents:
- d5a95c846fc1517274d3a931d1218317ae501684
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gnumpfl.cc
rd5a95c rcb8700 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: gnumpfl.cc,v 1. 4 2007-07-04 09:58:40Singular Exp $ */4 /* $Id: gnumpfl.cc,v 1.5 2007-12-17 18:16:43 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: computations with GMP floating-point numbers … … 394 394 // eat the exponent, starts with 'e' followed by '+', '-' 395 395 // 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++; 400 401 while ((*s >= '0' && *s <= '9')) s++; 401 402 }
Note: See TracChangeset
for help on using the changeset viewer.