Well, this is a fun little thing. What you just read is 2015 in binary. It happens to be a palindrome, which is interesting because it won't happen again until 2047 which is 11111111111.
11111011111
#1
Posted 05 December 2015 - 10:28 AM
#2
Posted 05 December 2015 - 11:42 AM
I needed this in my morning.
#3
Posted 05 December 2015 - 02:43 PM
This made my day Lasr, danke
#4
Posted 06 December 2015 - 01:58 AM
False, it is read 00000111 11011111
or more accurately in a 32-bit int, 00000000 00000000 00000111 11011111.
Edited by JoyJoy, 06 December 2015 - 02:09 AM.
#5
Posted 06 December 2015 - 02:05 AM
what about in 64?
#6
Posted 06 December 2015 - 02:09 AM
what about in 64?
Just add 32 more zeros at the beginning.
#7
Posted 06 December 2015 - 02:34 AM
False, it is read 00000111 11011111
or more accurately in a 32-bit int, 00000000 00000000 00000111 11011111.
Use decimal, not octal or hexadeciaml or some other wierd thing.
Edited by Luna Lens, 06 December 2015 - 02:37 AM.
#8
Posted 08 December 2015 - 02:30 PM
False, it is read 00000111 11011111
or more accurately in a 32-bit int, 00000000 00000000 00000111 11011111.
Wow, talk about pernickety.
I'm pretty sure you don't have to write binary numbers to a number of bits past the number of significant figures just to satisfy a 16-bit integer. Perhaps if you're literally a computer dealing with allocated memory locations, but since we're humans (at least last time I checked), I think we can write down an 11-bit long binary number without five other zeros in front of the most significant bit, and still understand it. Just like we don't write decimal numbers to the next 10whatever digits. It's like writing 0000000012 just to write down 12.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



