aboutsummaryrefslogtreecommitdiffstats
path: root/math.c
diff options
context:
space:
mode:
authorMarcus Stollsteimer <sto.mar@web.de>2019-12-24 00:13:46 +0100
committerMarcus Stollsteimer <sto.mar@web.de>2019-12-24 00:13:46 +0100
commit0231661939310951c8ed339d8600a53a21015918 (patch)
treed2341a9b2f93c1107cf80f6202ba2b73115145a4 /math.c
parent30c5e8c4b9353dfb716033901cec7529eace3922 (diff)
downloadruby-0231661939310951c8ed339d8600a53a21015918.tar.gz
[DOC] Fix wording in Math::E documentation
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index b28cabd881..d98467ca0a 100644
--- a/math.c
+++ b/math.c
@@ -984,7 +984,7 @@ InitVM_Math(void)
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)));