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

ruby-changes:37998

From: gogotanaka <ko1@a...>
Date: Wed, 25 Mar 2015 07:00:24 +0900 (JST)
Subject: [ruby-changes:37998] gogotanaka:r50079 (trunk): * complex.c (k_exact_one_p): remove unused macro k_exact_one_p.

gogotanaka	2015-03-25 06:59:55 +0900 (Wed, 25 Mar 2015)

  New Revision: 50079

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

  Log:
    * complex.c (k_exact_one_p): remove unused macro k_exact_one_p.

  Modified files:
    trunk/ChangeLog
    trunk/complex.c
Index: complex.c
===================================================================
--- complex.c	(revision 50078)
+++ complex.c	(revision 50079)
@@ -267,7 +267,6 @@ k_complex_p(VALUE x) https://github.com/ruby/ruby/blob/trunk/complex.c#L267
 #define k_exact_p(x) (!k_float_p(x))
 
 #define k_exact_zero_p(x) (k_exact_p(x) && f_zero_p(x))
-#define k_exact_one_p(x) (k_exact_p(x) && f_one_p(x))
 
 #define get_dat1(x) \
     struct RComplex *dat;\
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50078)
+++ ChangeLog	(revision 50079)
@@ -3,6 +3,8 @@ Tue Mar 25 06:55:43 2015  Kazuki Tanaka https://github.com/ruby/ruby/blob/trunk/ChangeLog#L3
 	* complex.c (k_inexact_p, k_exact_zero_p): use k_exact_zero_p macro
 	  to remove k_inexact_p macro.
 
+	* complex.c (k_exact_one_p): remove unused macro k_exact_one_p.
+
 Tue Mar 24 22:23:33 2015  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* doc/extention.rdoc: move from toplevel document and added extname.

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

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