Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Fun with duff's device and AUTOLOAD

by John M. Dlugosz (Monsignor)
on Feb 24, 2004 at 16:06 UTC ( #331419=note: print w/replies, xml ) Need Help??

in reply to Fun with duff's device and AUTOLOAD

I tried it under Win2k, and got unreadable output.

I wonder, what is printf("%c", 2.92e48) supposed to do? There is no character with that number, so I would hope for an error.

I'm not sure where it would "naturally" wrap, if that's what it's doing, since the range of legal Unicode ordinals is not a neat power of two. (I'm getting Unicode code points displayed for something like printf '%c',0x434 even without a use utf8 or other preparation.)

I'd be interested to know just what yours is doing.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://331419]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2018-01-22 09:33 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (233 votes). Check out past polls.