path: root/math.c
diff options
authorschneems <>2019-08-29 13:01:43 -0500
committerAaron Patterson <>2019-08-29 11:57:23 -0700
commit94b79bffb108ccacb6d165f31e177fa24d392774 (patch)
tree554f2c9d091128631316df6e67b4d8a75201ed5c /math.c
parenta8b310e14c2816f686b2e0b1cd1dca72f02fdf0d (diff)
Add word "Euler's number" to Math::E docs
When searching for this constant, I landed on the correct page 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.
Notes: Merged:
Diffstat (limited to 'math.c')
1 files changed, 1 insertions, 1 deletions
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));
rb_define_const(rb_mMath, "E", DBL2NUM(exp(1.0)));