Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

number systems/signing

Name: Anonymous 2011-11-22 4:14

Hi /prog/

How does one represent negative numbers in hex/octal, e.g -15. Would the hex value be F1 or -0F? In the example i've been given it says -15 is F1, but I dont see how the sign is represented, shouldn't F1 be +241?

Name: Anonymous 2011-11-22 13:21

>>6
No, you fuck off you mental midget. We have a few production level servers here at work that use 1's complement. Now shut up and go scrub another toilet.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List