diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-14 11:35:52 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-14 11:35:52 +0000 |
commit | 4fdfb28e7d2e3eefc0df1e1d034fbfc932c0d2a1 (patch) | |
tree | ffdd569afe15f73e7c10521d12f7275de9a5982b /version.h | |
parent | 0b572d70bcbf800e3c0da29b62bcadc99575e5e7 (diff) |
merge revision(s) 58453,58454: [Backport #13499]
Fix space flag when Inf/NaN and width==3
* sprintf.c (rb_str_format): while `"% 2f"` and `"% 4f"` result in
`" Inf"` and `" Inf"` respectively, `"% 3f"` results in
`"Inf"` (no space).
Refactor "%f" % Inf/NaN
* sprintf.c (rb_str_format): as for non-finite float, calculate
the exact needed size with the space flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@59901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.h')
-rw-r--r-- | version.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,10 +1,10 @@ #define RUBY_VERSION "2.2.8" -#define RUBY_RELEASE_DATE "2017-09-10" -#define RUBY_PATCHLEVEL 473 +#define RUBY_RELEASE_DATE "2017-09-14" +#define RUBY_PATCHLEVEL 474 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 9 -#define RUBY_RELEASE_DAY 10 +#define RUBY_RELEASE_DAY 14 #include "ruby/version.h" |