| # | Line 13 | Line 13 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 13 | #include <math.h> | |
| 14 | #include "platform.h" | |
| 15 | ||
| 16 | < | #define MAXCOL 256 /* maximum number of columns */ |
| 16 | > | #define MAXCOL 2048 /* maximum number of columns */ |
| 17 | ||
| 18 | #define ADD 0 /* add numbers */ | |
| 19 | #define MULT 1 /* multiply numbers */ | |
| # | Line 294 | Line 294 | char *fname | |
| 294 | result[n] = pow(result[n], 1.0/power); | |
| 295 | } | |
| 296 | if (func == MULT) | |
| 297 | < | result[n] = exp(tally[n]); |
| 297 | > | result[n] = exp(result[n]); |
| 298 | } | |
| 299 | putrecord(result, ncol, stdout); | |
| 300 | if (!subtotal) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |