[DOC] Fix wording in Math::E documentation

This commit is contained in:
Marcus Stollsteimer 2019-12-24 00:13:46 +01:00
parent 30c5e8c4b9
commit 0231661939
1 changed files with 1 additions and 1 deletions

2
math.c
View File

@ -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)));