diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-12 16:29:47 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-12 16:29:47 +0000 |
commit | d589608da9915722e494119a874cb36cc5e42df2 (patch) | |
tree | 576c3f42eea2cde7905dff73debce74409706cd4 /string.c | |
parent | 198aac595092e55a10cb458151556492a985b734 (diff) |
merge revision(s) 57778,57779:
string.c: [DOC] fix doc formatting for String#==, #===
math.c: more accuracy
* math.c (math_log10): calculate log10(2) for more accuracy.
[ruby-core:79907] [Bug #13279]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3046,9 +3046,7 @@ str_eql(const VALUE str1, const VALUE str2) * str == obj -> true or false * str === obj -> true or false * - * === Equality - * - * Returns whether +str+ == +obj+, similar to Object#==. + * Equality---Returns whether +str+ == +obj+, similar to Object#==. * * If +obj+ is not an instance of String but responds to +to_str+, then the * two strings are compared using <code>obj.==</code>. |