# binary # with a binary place

**URL:** <https://boards.straightdope.com/t/binary-with-a-binary-place/213467>\
**Category:** Factual Questions\
**Created:** [November 15, 2003, 10:21pm UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467 "2003-11-15T22:21:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul\_smars](https://avatars.discourse-cdn.com/v4/letter/p/3be4f8/32.png) [@paul\_smars](https://boards.straightdope.com/u/paul_smars)\
**Post date:** [November 15, 2003, 10:21pm UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467/1 "2003-11-15T22:21:59Z")

</div>

Decimal #s can have a decimal place, so can binary #s have a binary place? Such as:

0.1, 1.1, 10.1, 11.1

I think this can be. In fact I want to say that I am sure. Several HS teachers and other smart contacts since have all said NO.

---

<div class="post-metadata">

**Author:** ![Ximenean](https://avatars.discourse-cdn.com/v4/letter/x/aca169/32.png) [@Ximenean](https://boards.straightdope.com/u/Ximenean)\
**Post date:** [November 15, 2003, 10:29pm UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467/2 "2003-11-15T22:29:07Z")

</div>

Of course they can. 0.001, for example, equates to 1 x 2[sup]-3[/sup] = 1/2[sup]3[/sup] = 1/8

---

<div class="post-metadata">

**Author:** ![John\_Kentzel-Griffin](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@John\_Kentzel-Griffin](https://boards.straightdope.com/u/John_Kentzel-Griffin)\
**Post date:** [November 15, 2003, 10:30pm UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467/3 "2003-11-15T22:30:36Z")

</div>

Sure binary numbers can have a binary point. 0.1 would be 1 \* 2[sup]-1[/sup] or 1/2.

0.01 would be 0_2[sup]0[/sup] + 0_2[sup]-1[/sup] + 1\*2[sup]-2[/sup] or 1/4.

---

<div class="post-metadata">

**Author:** ![rowrrbazzle](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/rowrrbazzle/32/414_2.png) [@rowrrbazzle](https://boards.straightdope.com/u/rowrrbazzle)\
**Post date:** [November 15, 2003, 10:35pm UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467/4 "2003-11-15T22:35:22Z")

</div>

1/5 = .00110011… (I think)

and .111111111111111111111111111… = 1 😃

---

<div class="post-metadata">

**Author:** ![Q.E.D](https://avatars.discourse-cdn.com/v4/letter/q/51bf81/32.png) [@Q.E.D](https://boards.straightdope.com/u/Q.E.D)\
**Post date:** [November 15, 2003, 10:37pm UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467/5 "2003-11-15T22:37:50Z")

</div>

In fact each next place to the right is 1/2 the previous place, just as in decimal, the places are 1/10 the one to the left. In decimal, .125 evaluates as 1 \* 1/10 + 2 \* 1/100 + 5 \* 1/1000. For binary, .1101 would evaluate as 1 \* 1/2 + 1 \* 1/4 + 0 \* 1/8 + 1 \* 1/16.

---

<div class="post-metadata">

**Author:** ![Xema](https://avatars.discourse-cdn.com/v4/letter/x/9de053/32.png) [@Xema](https://boards.straightdope.com/u/Xema)\
**Post date:** [November 16, 2003, 2:49am UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467/6 "2003-11-16T02:49:53Z")

</div>

> [@](#):
>
> \*Originally posted by paul’smars \*  
> I think this can be. In fact I want to say that I am sure.

You are certainly correct. Given the reservation you express, I’m not actually convinced that you’re sure.

---

<div class="post-metadata">

**Author:** ![engineer\_comp\_geek](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/engineer_comp_geek/32/504_2.png) [@engineer\_comp\_geek](https://boards.straightdope.com/u/engineer_comp_geek)\
**Post date:** [November 16, 2003, 2:58am UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467/7 "2003-11-16T02:58:55Z")

</div>

There are two types of binary data values commonly used in computers, especially in 3-D games. The first is called floating point, which is the binary equivalent of something like 3.2x10 to the 3rd power.

Here’s a site that explains the more common type of float used in a computer:  
[http://www.psc.edu/general/software/packages/ieee/ieee.html](http://www.psc.edu/general/software/packages/ieee/ieee.html)

There’s another type called fixed point. Fixed point arithmetic is commonly used in older 3-D games because the floating point performance of the processors at the time wasn’t so great, and integers didn’t have enough precision. Fixed point arithmetic is generally not supported natively by the CPU, unlike integer and floating point. However, fixed point math basically boils down to integer operations, which then get processed by the integer portion of the CPU. Integer math is much simpler than floating point math, so the integer performance of a cpu is usually much better than the floating point performance.

A fixed point number in binary is the equivalent of having a decimal with a fixed point, like for example if you had 3 digits before the point and 3 digits after. In this example, the number 3 would be 003.000 (stored as a 3 and a 0), and the number 1/4 would be 000.250 (stored as 0 and 250 by the computer).

This site has more details:  
[http://www.embedded.com/98/9804fe2.htm](http://www.embedded.com/98/9804fe2.htm)

This site relates fixed point arithmetic to 3-d graphics. It seems to think a 486 is a relatively fast processor, which kind of indicates how old the article is.  
[http://www.gameprogrammer.com/4-fixed.html](http://www.gameprogrammer.com/4-fixed.html)

The only difference between the computer versions of floating point and fixed point arithmetic and the mathematical paper and pencil type equivalents is that the computer just truncates and loses stuff when it runs out of places to hold the bits.

This is one of those lovely times when you get to tell your HS teachers they are wrong.

---

<div class="post-metadata">

**Author:** ![paul\_smars](https://avatars.discourse-cdn.com/v4/letter/p/3be4f8/32.png) [@paul\_smars](https://boards.straightdope.com/u/paul_smars)\
**Post date:** [November 16, 2003, 4:21am UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467/8 "2003-11-16T04:21:58Z")

</div>

> [@](#):
>
> \*Originally posted by Xema \*  
> \*\*You are certainly correct. Given the reservation you express, I’m not actually convinced that you’re sure. \*\*

Well, u were right. After all those people who I have talked with over the years all saying NO. But now I have the Straight Dope.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [November 16, 2003, 5:43am UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467/9 "2003-11-16T05:43:02Z")

</div>

In base r, the point that separates the negative and non-negative powers is referred to as the radix point.

---

<div class="post-metadata">

**Author:** ![Mycroft\_H](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mycroft\_H](https://boards.straightdope.com/u/Mycroft_H)\
**Post date:** [November 17, 2003, 8:49pm UTC](https://boards.straightdope.com/t/binary-with-a-binary-place/213467/10 "2003-11-17T20:49:34Z")

</div>

And for the uber-geek :D, pi in binary is (approximately)

11.0010010000111111011010101.

(Binary has decimal points for as long as you can divide by two.)
