summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-12-27 20:14:08 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-12-27 20:14:08 (GMT)
commit872e88fa4a341e40d152513ef5eca12fc1796fc4 (patch)
tree6ac1b304e947d621734475db91e19db47d68c048 /generic/tclBasic.c
parentbfcaf58680879434db61618ae08073a85cf3379a (diff)
downloadtcl-872e88fa4a341e40d152513ef5eca12fc1796fc4.zip
tcl-872e88fa4a341e40d152513ef5eca12fc1796fc4.tar.gz
tcl-872e88fa4a341e40d152513ef5eca12fc1796fc4.tar.bz2
Export Tcl_InitBignumFromDouble
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index c219502..19acbf5 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.185 2005/12/14 02:09:19 das Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.186 2005/12/27 20:14:08 kennykb Exp $
*/
#include "tclInt.h"
@@ -4316,7 +4316,7 @@ Tcl_ExprLongObj(
d = *((CONST double *)internalPtr);
Tcl_DecrRefCount(resultPtr);
- if (TclInitBignumFromDouble(interp, d, &big) != TCL_OK) {
+ if (Tcl_InitBignumFromDouble(interp, d, &big) != TCL_OK) {
return TCL_ERROR;
}
resultPtr = Tcl_NewBignumObj(&big);
@@ -5347,7 +5347,7 @@ ExprEntierFunc(
if ((d >= (double)LONG_MAX) || (d <= (double)LONG_MIN)) {
mp_int big;
- if (TclInitBignumFromDouble(interp, d, &big) != TCL_OK) {
+ if (Tcl_InitBignumFromDouble(interp, d, &big) != TCL_OK) {
/* Infinity */
return TCL_ERROR;
}
@@ -5651,7 +5651,7 @@ ExprRoundFunc(
if ((intPart >= (double)max) || (intPart <= (double)min)) {
mp_int big;
- if (TclInitBignumFromDouble(interp, intPart, &big) != TCL_OK) {
+ if (Tcl_InitBignumFromDouble(interp, intPart, &big) != TCL_OK) {
/* Infinity */
return TCL_ERROR;
}