summaryrefslogtreecommitdiff
path: root/missing/isinf.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-21 10:30:24 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-21 10:30:24 +0000
commitf8b298c5f94efd6405d9b34967b72235f7f3a3fa (patch)
tree3f451a7f163357f87e3e367072b29de765333781 /missing/isinf.c
parentd9fe29a7245232e4771802483b5f2700397dc3b1 (diff)
* missing/isinf.c (isinf): typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/isinf.c')
-rw-r--r--missing/isinf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/missing/isinf.c b/missing/isinf.c
index 1b09f11..8829b72 100644
--- a/missing/isinf.c
+++ b/missing/isinf.c
@@ -31,7 +31,7 @@ int
isinf(n)
double n;
{
- return (!finite(x) && !isnan(x))
+ return (!finite(n) && !isnan(n));
}
#else