summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-17 17:30:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-17 17:30:13 (GMT)
commite246b44499e406683adac8035e53d08b4dc0192a (patch)
tree871f197c9b3896ee27b62f946ee1b42f7062ceb9 /generic/tclStrToD.c
parentaa93fba41a6764dce6c1f918388efd0f46136ada (diff)
downloadtcl-e246b44499e406683adac8035e53d08b4dc0192a.zip
tcl-e246b44499e406683adac8035e53d08b4dc0192a.tar.gz
tcl-e246b44499e406683adac8035e53d08b4dc0192a.tar.bz2
Deprecate internal macro's TclIsInfinite() and TclIsNan(), since C99 has isinf() and isnan()
Diffstat (limited to 'generic/tclStrToD.c')
-rw-r--r--generic/tclStrToD.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 5ee5945..a7986b0 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -4832,7 +4832,7 @@ Tcl_InitBignumFromDouble(
* Infinite values can't convert to bignum.
*/
- if (TclIsInfinite(d)) {
+ if (isinf(d)) {
if (interp != NULL) {
const char *s = "integer value too large to represent";