Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Ascending vs descending bit order

by Aristotle (Chancellor)
on Jul 01, 2002 at 15:41 UTC ( [id://178586]=note: print w/replies, xml ) Need Help??


in reply to Re: Ascending vs descending bit order
in thread Ascending vs descending bit order

Careful, nothing to do with big vs little endian which are byte order variations, as opposed to the pack formats which differ in the bit order. Observe:
$ perl -le'print ord pack "B*", "00000001"' 1 $ perl -le'print ord pack "b*", "00000001"' 128

Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://178586]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found