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

number systems and signing

Name: Anonymous 2011-11-22 4:08

Hi /prog/

How does one represent negative numbers in hex/octal, for example -15. Would the hex value be F1 or -0F? In the example i'm given it says -15 is F1, but I dont see how the sign is represented, shouldnt F1 be +241? How do you signed hex/octal, with '-' or is there some sort of 2's compliment equivalent i haven't grasped?

Name: Anonymous 2011-11-22 4:09

whoops wrong board lol, no delete thread down here?

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