diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-23 01:04:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-23 01:04:39 +0000 |
commit | 6f8f950cc3aec12826c72e7e67bf54022444aacc (patch) | |
tree | 81c4f7ff4b02bab28c347e5dc19061276ff9f18c /nacl/create_nmf.rb | |
parent | a6f0ec21e9d07a7a10f5a2fe06728fdad5b4d1d6 (diff) | |
download | ruby-6f8f950cc3aec12826c72e7e67bf54022444aacc.tar.gz |
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).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'nacl/create_nmf.rb')
0 files changed, 0 insertions, 0 deletions