Re: sprintf 64 test

2006-10-14 Thread SADAHIRO Tomoyuki
", -1, "ab"); # should be like printf("!%3s!\n", "ab"); printf("!%3.*s!\n", 0, "ab"); printf("!%3.*s!\n", 1, "ab"); I think they should print ! ab! ! ! ! a! but perl5 does ! ! ! ! ! a! Regards, SADAHIRO Tomoyuki

[PATCH] Re: sprintf 64 test

2006-10-15 Thread SADAHIRO Tomoyuki
atch has not coped with it yet. cf. google code search for "%#.0o": http://www.google.com/codesearch?hl=en&lr=&q=%22%25%23.0o%22 Regards, SADAHIRO Tomoyuki sprintf.patch.gz Description: Binary data

Re: [perl #40823] Win32 vs. the world - length for sprintf('%e') - what's right?

2006-11-13 Thread SADAHIRO Tomoyuki
; if ($y =~ s/([Ee][-+])0(\d)/$1$2/) { .. } .. if ($x eq ">$result<") { print "ok $i\n"; } elsif ($skip) { print "ok $i # skip $comment\n"; } elsif ($y eq ">$result<") # Some C libraries always give { # three-digit exponent print("ok $i # >$result< $x three-digit exponent accepted\n"); } Regards, SADAHIRO Tomoyuki