Project

General

Profile

« Previous | Next » 

Revision be7309dd

Added by nobu (Nobuyoshi Nakada) about 8 years ago

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