From 94b79bffb108ccacb6d165f31e177fa24d392774 Mon Sep 17 00:00:00 2001 From: schneems Date: Thu, 29 Aug 2019 13:01:43 -0500 Subject: Add word "Euler's number" to Math::E docs When searching for this constant, I landed on the correct page https://ruby-doc.org/core-2.6.4/Math.html however I was using CMD+f to search for "Euler" and did not find it. If we add the full name for this constant then it will be easier to search for and find. --- math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math.c') diff --git a/math.c b/math.c index 509cd46ef2..57dc2fcaf0 100644 --- a/math.c +++ b/math.c @@ -982,7 +982,7 @@ InitVM_Math(void) rb_define_const(rb_mMath, "PI", DBL2NUM(M_PI)); #ifdef M_E - /* Definition of the mathematical constant E (e) as a Float number. */ + /* Definition of the mathematical constant for Euler's number E (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 v1.2.3