develooper Front page | perl.perl5.porters | Postings from March 2000

How is printf supposed to work with quads anyway?

From:
Joseph N. Hall
Date:
March 24, 2000 17:35
Subject:
How is printf supposed to work with quads anyway?
Message ID:
MailDrop1.2d7j-PPC.1000324183521@perlfaq.com
I notice that on my long long 5.6.0 compiled on my linux box,
%064b gives me 32 bits while %064llb gives me (apparently) 64.
My reading of the documentation was that you shouldn't need the 
"ll" to get quads to print correctly.

Am I wrong?

Is this different on a native 64-bit platform?

  -joseph




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About