• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Is it possible to write 0.5 in binary format?

Yes. I think it's just 0.1, seeing as it goes from 1 -> 2 -> 4.. on the left, so it should be 1/2 -> 1/4 -> 1/8 on the right.
 
Hell I'd like to know the answer too and why.

Understanding binary to the left of the decimal place never seemed like much of a challenge, but I've never seen it to the right
 
it's 0.1 but I don't know why, I thought wrong. Cuz according to my logic, 1/4 would also be 0.1 but that's wrong, it would be 0.01, no idea why thought.
 
windows calculator won't let me do decimals or fractions in binary, hex, or oct. it cuts off eveyrthing after decimal point.

i suppose, given the proper coding envirnment - some languages may support numbers less than zero. I dont know how to do it though.
 
Originally posted by: ndee
it's 0.1 but I don't know why, I thought wrong. Cuz according to my logic, 1/4 would also be 0.1 but that's wrong, it would be 0.01, no idea why thought.

the place of 0.1 is 1/10 in base ten, so it's 1/2 in base 2
 
Originally posted by: Pepsi90919
no, it's not. you technically can't even subtract in binary without jumping through hoops.

umm sure you can. you can subtract just like in base 10
 
Originally posted by: dighn
Originally posted by: ndee
it's 0.1 but I don't know why, I thought wrong. Cuz according to my logic, 1/4 would also be 0.1 but that's wrong, it would be 0.01, no idea why thought.

the place of 0.1 is 1/10 in base ten, so it's 1/2 in base 2

Makes sense now, thanks!
 
Originally posted by: Pepsi90919
Originally posted by: dighn
Originally posted by: Pepsi90919
no, it's not. you technically can't even subtract in binary without jumping through hoops.

umm sure you can. you can subtract just like in base 10

you missed the last four words.

i dont see how adjusting to a different base is "jumping through hoops" . the rules & procedures are exactly the same
 
Originally posted by: ndee
it's 0.1 but I don't know why, I thought wrong. Cuz according to my logic, 1/4 would also be 0.1 but that's wrong, it would be 0.01, no idea why thought.
Skipped over my post, eh?
 
Originally posted by: dighn
Originally posted by: Pepsi90919
Originally posted by: dighn
Originally posted by: Pepsi90919
no, it's not. you technically can't even subtract in binary without jumping through hoops.

umm sure you can. you can subtract just like in base 10

you missed the last four words.

i dont see how adjusting to a different base is "jumping through hoops" . the rules & procedures are exactly the same

i've always done it by inverting the number and adding 1 to get a 2's complement number, then adding the other number.
 
Originally posted by: Pepsi90919

i've always done it by inverting the number and adding 1 to get a 2's complement number, then adding the other number.

yeah but you could do it the "natural" way too...
 
i like how the OP responds with "got it" less than a minute after the post is made. how many times do we ask a question only to answer it ourselves right after it is asked? its funny.
 
its 0.1 in regular binary.

typically numbers in decimals are expressed in IEEE floating point though.

 
Back
Top