Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Craziness Domain. |
User | Post |
neotransotaku Posts: 610/1860 |
Originally posted by NSNick floating point printf("%f", 0x80000000); // prints -0 |
HyperHacker Posts: 946/5072 |
Originally posted by Alastor the StylishNot too hard to find. Old computers, simple PICs, and cases where the other 4 bits mean something else often do this.Originally posted by Hyper LOLAnd 12-bit implementations themselves, on the other hand, are quite common, right? And yes, Octal is completely pointless. |
NSNick Posts: 461/2228 |
Who/what uses that system? |
neotransotaku Posts: 606/1860 |
Originally posted by ZemOriginally posted by neotransotaku most numbers in computers are represented using two's complement, which is what many of us who know are talking about converting binary to decimal. However, there is another number representation system that states all the bits except the left most are just like binary to decimal conversion and the last bit is the sign. For example, using 8 bits, 0001 1111 = +001 1111 = 32 1001 1111 = -001 1111 = -32 So...negative 0 |
Radiation Posts: 25/119 |
Hahaha, that was awesome. The worst part about that is the fact that it made me remember I have almost the same conversations like that. Except in real life. People that don't get the jokes should stay away, instead of making it less enjoyable for people who do. |
RT-55J Posts: 39/109 |
XFD @ this thread. |
Alastor Posts: 2458/8204 |
That actually makes sense, but only if you already knew it... So yeah. |
Ailure Posts: 523/2602 |
I got the joke. xD
The octal number system is rather odd yeah, I yet have to use it. xD Anyone who ever played around with SMB bugs knows that when you hit 128 lives, you actually hit -128 due to overflow (and whenever you die, it's a game over due to the negative number). From 0111 1111 to 1000 0000. And the first byte is a "signed" byte and uhm... i'm not sure how negative numbers are calculated though, so don't ask me. Drat, it's hard to explain. Though, it should be said. Overflow exists everywhere. This post made so much sense that it made negative sense. |
Coby Posts: 42/123 |
Wow, geek humor. |
MathOnNapkins Posts: 190/1106 |
This is either as funny as the "jokes" about pi, or I just plain don't get it. |
Trapster Posts: 1779/3604 |
Originally posted by Danielle Well, same...here. I´m not into hex stuff. "You know, maybe it was so hilarious, that it hit negative hilarity." Yeah, what he sid. |
NSNick Posts: 453/2228 |
Originally posted by neotransotaku In my microcontroller class a while back, the dude was talking about what symbol means what base, i.e. binary, hex, base ten, and octal. His side note for octal was "This isn't used in this class, nor anywhere in the real world" |
Zem Posts: 588/1097 |
Originally posted by neotransotaku . ? ~ |
neotransotaku Posts: 604/1860 |
sensing text sarcasm + me equals
800 could also be negative zero... |
Alastor Posts: 2452/8204 |
Originally posted by neotransotakuI dunno, I thought the sarcasm was pretty obvious. |
neotransotaku Posts: 602/1860 |
Originally posted by Alastor the StylishOriginally posted by Hyper LOLAnd 12-bit implementations themselves, on the other hand, are quite common, right? uh...the last one i heard used it was some computer back in the 70s... |
Apophis Posts: 277/734 |
XD |
Alastor Posts: 2450/8204 |
Originally posted by Hyper LOLAnd 12-bit implementations themselves, on the other hand, are quite common, right? |
Tatrion Posts: 472/2467 |
You know, if you had negative weight, you'd have negative mass.
And if you had negative mass, you'd have negative gravity. How do you type Alastor? |
HyperHacker Posts: 942/5072 |
I get it, but this seems completely incorrect. 000-7FF are positive, and 800-FFF are negative. FFF is -1, FFE is -2, etc. At least in every signed integer implementation I've ever heard of. Once you got to 800 you'd be -2048 pounds. And shoot off into the sky. |
This is a long thread. Click here to view it. |