diff options
| author | Kevin B Kenny <kennykb@acm.org> | 2005-12-27 20:14:08 (GMT) |
|---|---|---|
| committer | Kevin B Kenny <kennykb@acm.org> | 2005-12-27 20:14:08 (GMT) |
| commit | 8e16c8510eaf4b47487ed5fdc5989c9554160903 (patch) | |
| tree | 6ac1b304e947d621734475db91e19db47d68c048 /generic/tclBasic.c | |
| parent | 1745d4b3ad16bbbb470d8dbdfdfe9b45a4aa90df (diff) | |
| download | tcl-8e16c8510eaf4b47487ed5fdc5989c9554160903.zip tcl-8e16c8510eaf4b47487ed5fdc5989c9554160903.tar.gz tcl-8e16c8510eaf4b47487ed5fdc5989c9554160903.tar.bz2 | |
Export Tcl_InitBignumFromDouble
Diffstat (limited to 'generic/tclBasic.c')
| -rw-r--r-- | generic/tclBasic.c | 8 |
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; } |
