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

ruby-changes:33744

From: tadf <ko1@a...>
Date: Mon, 5 May 2014 17:29:01 +0900 (JST)
Subject: [ruby-changes:33744] tadf:r45825 (trunk): * math.c (rb_math_sqrt): omitted exporting an unused function,

tadf	2014-05-05 17:28:56 +0900 (Mon, 05 May 2014)

  New Revision: 45825

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

  Log:
    * math.c (rb_math_sqrt): omitted exporting an unused function,
      anyway.
    * internal.h: follows the above change.

  Modified files:
    trunk/ChangeLog
    trunk/internal.h
    trunk/math.c
Index: math.c
===================================================================
--- math.c	(revision 45824)
+++ math.c	(revision 45825)
@@ -926,7 +926,9 @@ rb_math_log(int argc, VALUE *argv) https://github.com/ruby/ruby/blob/trunk/math.c#L926
 
 exp1(sin)
 exp1(sinh)
+#if 0
 exp1(sqrt)
+#endif
 
 
 /*
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45824)
+++ ChangeLog	(revision 45825)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon May  5 17:26:09 2014  Tadayoshi Funaba  <tadf@d...>
+
+	* math.c (rb_math_sqrt): omitted exporting an unused function,
+	  anyway.
+	* internal.h: follows the above change.
+
 Mon May  5 11:44:03 2014  Tanaka Akira  <akr@f...>
 
 	* lib/time.rb (Time.strptime): Raise ArgumentError if Date._strptime
Index: internal.h
===================================================================
--- internal.h	(revision 45824)
+++ internal.h	(revision 45825)
@@ -635,7 +635,9 @@ VALUE rb_math_hypot(VALUE, VALUE); https://github.com/ruby/ruby/blob/trunk/internal.h#L635
 VALUE rb_math_log(int argc, VALUE *argv);
 VALUE rb_math_sin(VALUE);
 VALUE rb_math_sinh(VALUE);
+#if 0
 VALUE rb_math_sqrt(VALUE);
+#endif
 
 /* newline.c */
 void Init_newline(void);

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

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