166 std::cout <<
"re = " <<
re << std::endl;
180 it_error(
"assert_shifts: Different shifts not allowed!");
188 "assert_shifts: Different shifts not allowed!");
196 if (!is.eof() && (is.peek() ==
'<')) {
199 if (is.peek() ==
'<') {
231 os << double(x) <<
"<<" << x.
get_shift();
234 it_error(
"operator<<: Illegal output mode!");
243 std::istringstream buffer(values);
245 int default_shift = 0, pos = 0, maxpos = 10;
248 default_shift =
data[0].get_shift();
251 while (buffer.peek() != EOF) {
252 switch (buffer.peek()) {
258 if (!buffer.eof() && buffer.peek() ==
':') {
262 while (
int(
double(
data[pos-1])) + b - c <= 0) {
274 while (
int(
double(
data[pos-1])) < b) {
294 data[pos-1].set_shift(default_shift);
295 buffer >>
data[pos-1];
296 while (buffer.peek() ==
' ') { buffer.get(); }
307 std::istringstream buffer(values);
308 int default_shift = 0,
rows = 0, maxrows = 10,
cols = 0, nocols = 0, maxcols = 10;
311 default_shift =
data[0].get_shift();
313 alloc(maxrows, maxcols);
314 while (buffer.peek() != EOF) {
316 if (
rows > maxrows) {
317 maxrows = maxrows * 2;
321 while ((buffer.peek() !=
';') && (buffer.peek() != EOF)) {
322 if (buffer.peek() ==
',') {
329 if (
cols > maxcols) {
330 maxcols = maxcols * 2;
336 while (buffer.peek() ==
' ') { buffer.get(); }