[前][次][番号順一覧][スレッド一覧]

ruby-changes:6671

From: nobu <ko1@a...>
Date: Wed, 23 Jul 2008 18:06:19 +0900 (JST)
Subject: [ruby-changes:6671] Ruby:r18187 (ruby_1_8): * ext/bigdecimal/bigdecimal.{c,h} (VpIsNegDoubleZero, VpItoV): unused.

nobu	2008-07-23 18:06:02 +0900 (Wed, 23 Jul 2008)

  New Revision: 18187

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18187

  Log:
    * ext/bigdecimal/bigdecimal.{c,h} (VpIsNegDoubleZero, VpItoV): unused.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/ext/bigdecimal/bigdecimal.c
    branches/ruby_1_8/ext/bigdecimal/bigdecimal.h

Index: ruby_1_8/ext/bigdecimal/bigdecimal.c
===================================================================
--- ruby_1_8/ext/bigdecimal/bigdecimal.c	(revision 18186)
+++ ruby_1_8/ext/bigdecimal/bigdecimal.c	(revision 18187)
@@ -2180,12 +2180,14 @@
     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 @@
     return;
 }
 
+#if 0
 /*
  *  m <- ival
  */
@@ -4214,6 +4217,7 @@
 #endif /* _DEBUG */
     return;
 }
+#endif
 
 /*
  * y = SQRT(x),  y*y - x =>0
Index: ruby_1_8/ext/bigdecimal/bigdecimal.h
===================================================================
--- ruby_1_8/ext/bigdecimal/bigdecimal.h	(revision 18186)
+++ ruby_1_8/ext/bigdecimal/bigdecimal.h	(revision 18187)
@@ -127,7 +127,9 @@
 VP_EXPORT unsigned long VpSetRoundMode(unsigned long n);
 
 VP_EXPORT int VpException(unsigned short f,const char *str,int always);
+#if 0
 VP_EXPORT int VpIsNegDoubleZero(double v);
+#endif
 VP_EXPORT U_LONG VpNumOfChars(Real *vp,const char *pszFmt);
 VP_EXPORT U_LONG VpInit(U_LONG BaseVal);
 VP_EXPORT void *VpMemAlloc(U_LONG mb);
@@ -146,7 +148,9 @@
 VP_EXPORT int VpCtoV(Real *a,const char *int_chr,U_LONG ni,const char *frac,U_LONG nf,const char *exp_chr,U_LONG ne);
 VP_EXPORT int VpVtoD(double *d,S_LONG *e,Real *m);
 VP_EXPORT void VpDtoV(Real *m,double d);
+#if 0
 VP_EXPORT void VpItoV(Real *m,S_INT ival);
+#endif
 VP_EXPORT int VpSqrt(Real *y,Real *x);
 VP_EXPORT int VpActiveRound(Real *y,Real *x,int f,int il);
 VP_EXPORT int VpMidRound(Real *y, int f, int nf);
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 18186)
+++ ruby_1_8/ChangeLog	(revision 18187)
@@ -1,5 +1,7 @@
-Wed Jul 23 18:04:42 2008  Nobuyoshi Nakada  <nobu@r...>
+Wed Jul 23 18:05:59 2008  Nobuyoshi Nakada  <nobu@r...>
 
+	* ext/bigdecimal/bigdecimal.{c,h} (VpIsNegDoubleZero, VpItoV): unused.
+
 	* ext/digest/digest.c (rb_digest_instance_inspect): consitifed.
 
 	* ext/dl/dl.c (rb_ary_to_ptr), ext/dl/ptr.c (rb_dlmem_delete):

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]