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

ruby-changes:59426

From: Marcus <ko1@a...>
Date: Tue, 24 Dec 2019 08:43:09 +0900 (JST)
Subject: [ruby-changes:59426] 0231661939 (master): [DOC] Fix wording in Math::E documentation

https://git.ruby-lang.org/ruby.git/commit/?id=0231661939

From 0231661939310951c8ed339d8600a53a21015918 Mon Sep 17 00:00:00 2001
From: Marcus Stollsteimer <sto.mar@w...>
Date: Tue, 24 Dec 2019 00:13:46 +0100
Subject: [DOC] Fix wording in Math::E documentation


diff --git a/math.c b/math.c
index b28cabd..d98467c 100644
--- a/math.c
+++ b/math.c
@@ -984,7 +984,7 @@ InitVM_Math(void) https://github.com/ruby/ruby/blob/trunk/math.c#L984
     rb_define_const(rb_mMath, "PI", DBL2NUM(M_PI));
 
 #ifdef M_E
-    /*  Definition of the mathematical constant for Euler's number E (e) as a Float number. */
+    /*  Definition of the mathematical constant E for Euler's number (e) as a Float number. */
     rb_define_const(rb_mMath, "E", DBL2NUM(M_E));
 #else
     rb_define_const(rb_mMath, "E", DBL2NUM(exp(1.0)));
-- 
cgit v0.10.2


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

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