summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/bigdecimal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-23 09:06:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-23 09:06:02 +0000
commitd0b0af847e500eb17d64e32d76e36e6cc91d5b83 (patch)
tree4202edd8b8b6b2cf2650564716b86bf2bc660163 /ext/bigdecimal/bigdecimal.c
parent756e804e378ff33b54a8bb06761c81aed02786bd (diff)
* ext/bigdecimal/bigdecimal.{c,h} (VpIsNegDoubleZero, VpItoV): unused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r--ext/bigdecimal/bigdecimal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 636c0907d6..e54ea34a20 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -2180,12 +2180,14 @@ VpGetDoubleNegZero(void) /* Returns the value of -0 */
return nzero;
}
+#if 0
VP_EXPORT int
VpIsNegDoubleZero(double v)
{
double z = VpGetDoubleNegZero();
return MemCmp(&v,&z,sizeof(v))==0;
}
+#endif
VP_EXPORT int
VpException(unsigned short f, const char *str,int always)
@@ -4154,6 +4156,7 @@ Exit:
return;
}
+#if 0
/*
* m <- ival
*/
@@ -4214,6 +4217,7 @@ Exit:
#endif /* _DEBUG */
return;
}
+#endif
/*
* y = SQRT(x), y*y - x =>0