Browse Source

* src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug

that caused radix specifiers to not work when reading from a stream.
	* src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
	* src/real/input/cl_R_read_stream.cc (read_real): Likewise.
	* src/float/input/cl_F_read_stream.cc (read_float): Likewise.
	* src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
master
Richard Kreckel 20 years ago
parent
commit
7792c43d12
  1. 9
      ChangeLog
  2. 1
      src/complex/input/cl_N_read_stream.cc
  3. 1
      src/float/input/cl_F_read_stream.cc
  4. 1
      src/integer/input/cl_I_read_stream.cc
  5. 1
      src/rational/input/cl_RA_read_stream.cc
  6. 1
      src/real/input/cl_R_read_stream.cc

9
ChangeLog

@ -1,3 +1,12 @@
2004-10-26 Richard B. Kreckel <kreckel@ginac.de>
* src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
that caused radix specifiers to not work when reading from a stream.
* src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
* src/real/input/cl_R_read_stream.cc (read_real): Likewise.
* src/float/input/cl_F_read_stream.cc (read_float): Likewise.
* src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
2004-10-25 Richard B. Kreckel <kreckel@ginac.de>
* src/base/cl_low.h: Add mulu64 assembler macro for ia64.

1
src/complex/input/cl_N_read_stream.cc

@ -72,7 +72,6 @@ const cl_N read_complex (std::istream& stream, const cl_read_flags& flags)
}
if (!(((c >= 'A') && (c <= 'Z')) || ((c >= 'a') && (c <= 'z'))))
goto syntax1;
buffer.push(c);
c = freadchar(stream);
if (c == cl_EOF) goto eof;
if (c == '(') {

1
src/float/input/cl_F_read_stream.cc

@ -74,7 +74,6 @@ const cl_F read_float (std::istream& stream, const cl_read_flags& flags)
}
if (!(((c >= 'A') && (c <= 'Z')) || ((c >= 'a') && (c <= 'z'))))
goto syntax1;
buffer.push(c);
c = freadchar(stream);
if (c == cl_EOF) goto eof;
}

1
src/integer/input/cl_I_read_stream.cc

@ -74,7 +74,6 @@ const cl_I read_integer (std::istream& stream, const cl_read_flags& flags)
}
if (!(((c >= 'A') && (c <= 'Z')) || ((c >= 'a') && (c <= 'z'))))
goto syntax1;
buffer.push(c);
c = freadchar(stream);
if (c == cl_EOF) goto eof;
}

1
src/rational/input/cl_RA_read_stream.cc

@ -75,7 +75,6 @@ const cl_RA read_rational (std::istream& stream, const cl_read_flags& flags)
}
if (!(((c >= 'A') && (c <= 'Z')) || ((c >= 'a') && (c <= 'z'))))
goto syntax1;
buffer.push(c);
c = freadchar(stream);
if (c == cl_EOF) goto eof;
}

1
src/real/input/cl_R_read_stream.cc

@ -74,7 +74,6 @@ const cl_R read_real (std::istream& stream, const cl_read_flags& flags)
}
if (!(((c >= 'A') && (c <= 'Z')) || ((c >= 'a') && (c <= 'z'))))
goto syntax1;
buffer.push(c);
c = freadchar(stream);
if (c == cl_EOF) goto eof;
}

Loading…
Cancel
Save