-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sprintf documentation should mention numeric conversion #135
Comments
From garethr@cre.canon.co.ukThis program: $x = 2**32; prints $x is 4294967296 I think that the section on `sprintf' in the `perlfunc' manpage should Perl Info
|
From [Unknown Contact. See original ticket]garethr@cre.canon.co.uk (Gareth Rees) wrote:
An appeal to the ANSI spec would probably yield the answer, which is To avoid having to appeal to a non-Artistic source of documentation, I Inline Patch--- pod/perlfunc.pod.orig Mon Aug 23 15:16:57 1999
+++ pod/perlfunc.pod Sun Sep 5 15:57:09 1999
@@ -4102,4 +4102,5 @@
l interpret integer as C type "long" or "unsigned long"
h interpret integer as C type "short" or "unsigned short"
+ If no flags, interpret integer as C type "int" or "unsigned"
There is also one Perl-specific flag:
@@ -4119,5 +4120,5 @@
If Perl understands "quads" (64-bit integers) (this requires
either that the platform natively supports quads or that Perl
-has been specifically compiled to support quads), the flags
+has been specifically compiled to support quads), the characters
d u o x X b i D U O |
1.68 -- 2024-10-18 [CHANGES] * Added (empty) Scalar::List::Utils module so that a module exists which matches the name of the distribution (GH #135)
Migrated from rt.perl.org#940 (status was 'resolved')
Searchable as RT940$
The text was updated successfully, but these errors were encountered: