diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-23 01:04:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-23 01:04:40 +0000 |
commit | a16ffb21ca0cd6071632c6e937b2039dee126781 (patch) | |
tree | 0dce0179fdaeeb01b985c88a2fe914ff8269b0aa /defs | |
parent | dac4385dfdc7df4a36af93f1a2f5ef6a22d773dc (diff) | |
download | ruby-a16ffb21ca0cd6071632c6e937b2039dee126781.tar.gz |
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/trunk@58454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defs')
0 files changed, 0 insertions, 0 deletions