Project

General

Profile

Actions

Bug #3956

closed

format() の %a 指定子で幅指定が正しく機能しない

Added by tadf (tadayoshi funaba) over 13 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-10-17 trunk 29519) [i686-linux]
Backport:

Description

=begin
format() の %a 指定子で幅指定が正しく機能しない。

format('%10a', 1.0).tap{|x| p x.size}
12
#=> " 0x1p+0"
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0