[ruby-cvs:65626] nobu:r58454 (trunk): Refactor "%f" % Inf/NaN

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Apr 23 10:04:40 JST 2017


nobu	2017-04-23 10:04:40 +0900 (Sun, 23 Apr 2017)

  New Revision: 58454

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58454

  Log:
    Refactor "%f" % Inf/NaN
    
    * sprintf.c (rb_str_format): as for non-finite float, calculate
      the exact needed size with the space flag.

  Modified files:
    trunk/sprintf.c


More information about the ruby-cvs mailing list