Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: When I see "10", I think:

by BrowserUk (Pope)
on Feb 02, 2012 at 21:11 UTC ( #951533=note: print w/ replies, xml ) Need Help??


in reply to Re^2: When I see "10", I think:
in thread When I see "10", I think:

Are we done with octal?

I've been done by octal too many times :)

I hate that most programming languages insist on interpreting numbers with leading xeros as octal.

Personally, I've never seen any utility in octal that wasn't better served by hex.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?


Comment on Re^3: When I see "10", I think:
Re^4: When I see "10", I think:
by Anonymous Monk on Feb 03, 2012 at 17:03 UTC

    What about file permissions?

Re^4: When I see "10", I think:
by ikegami (Pope) on Mar 02, 2013 at 16:05 UTC

    Using octal for 16-bit values is that it isolates bit 15 nicely.

    FFFF(hex) = 177777(oct) 8000(hex) = 100000(oct) 7FFF(hex) = 077777(oct) 0000(hex) = 000000(oct)

      If the left-most hex digit is 8 or higher, the high bit is set.

        Which doesn't help you read the next 15 bits.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-07-22 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (130 votes), past polls