summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-17 21:32:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-17 21:32:05 (GMT)
commit00cb7c6add3b6ac9655f4a1ae6c904ec11306e6f (patch)
treefe337ead094addd20898ae188c89ac27aeb0f6c5 /generic/tclUtil.c
parent4413b6647623799f5d461837b869bf0fb12496be (diff)
parent820f87726f851ed6938105e54b9d402288cf40f0 (diff)
downloadtcl-00cb7c6add3b6ac9655f4a1ae6c904ec11306e6f.zip
tcl-00cb7c6add3b6ac9655f4a1ae6c904ec11306e6f.tar.gz
tcl-00cb7c6add3b6ac9655f4a1ae6c904ec11306e6f.tar.bz2
Merge 9.0
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r--generic/tclUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index bda3494..3ca178d 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -3058,7 +3058,7 @@ Tcl_PrintDouble(
* Handle NaN.
*/
- if (TclIsNaN(value)) {
+ if (isnan(value)) {
TclFormatNaN(value, dst);
return;
}
@@ -3067,7 +3067,7 @@ Tcl_PrintDouble(
* Handle infinities.
*/
- if (TclIsInfinite(value)) {
+ if (isinf(value)) {
/*
* Remember to copy the terminating NUL too.
*/