1 *** ../../tcl6.4/tclExpr.c Mon Mar 23 09:54:06 1992
2 --- tclExpr.c Tue Oct 6 17:20:10 1992
5 if (value.type == TYPE_INT) {
6 sprintf(interp->result, "%ld", value.intValue);
7 } else if (value.type == TYPE_DOUBLE) {
8 ! sprintf(interp->result, "%g", value.doubleValue);
10 if (value.pv.buffer != value.staticSpace) {
11 interp->result = value.pv.buffer;
14 if (value.type == TYPE_INT) {
15 sprintf(interp->result, "%ld", value.intValue);
16 } else if (value.type == TYPE_DOUBLE) {
17 ! Tcl_ReturnDouble (interp, value.doubleValue);
19 if (value.pv.buffer != value.staticSpace) {
20 interp->result = value.pv.buffer;