[Blindmath] binary basics
Paul Chapin
pdchapin at amherst.edu
Fri Mar 20 15:41:34 UTC 2015
0b is the standard way for programmers to designate that the number than follows is binary in the same way the 0x indicates the number is hexadecimal.
There are 10 kinds of people in the world. Those who understand binary and those who don’t. (Sorry, it’s an old joke but it shows the potential for confusion without the leading 0b).
Paul Chapin
Academic Technology Specialist
Amherst College
X2144
Amherst College IT staff will never ask for your password, including by email. Any email asking for any password or username is almost certainly bogus. Never click on a link in an email to a site that requires a login as the link may be bogus. Type in the address yourself. Please keep your passwords private to protect yourself and the security of our network.
From: Jorge Paez via Blindmath <blindmath at nfbnet.org<mailto:blindmath at nfbnet.org>>
Reply-To: Jorge Paez <jorgeapaez1994 at gmail.com<mailto:jorgeapaez1994 at gmail.com>>, Blind Math list for those interested in mathematics <blindmath at nfbnet.org<mailto:blindmath at nfbnet.org>>
Date: Friday, March 20, 2015 at 11:32 AM
To: derek riemer <Derek.Riemer at colorado.edu<mailto:Derek.Riemer at colorado.edu>>, Blind Math list for those interested in mathematics <blindmath at nfbnet.org<mailto:blindmath at nfbnet.org>>
Subject: Re: [Blindmath] binary basics
Thanks everyone.
Awesome post by the way Tyler , very helpful.
For those of you who wrote binary notation in your message though,
what's the B supposed to represent?
Is that what you use instead of the exponent symbol?
On 3/20/15, derek riemer via Blindmath <blindmath at nfbnet.org<mailto:blindmath at nfbnet.org>> wrote:
As well, Adding, subtracting, ... is the same. We carry the 1 if adding.
2+2
0b10 + 0b10
10
10
--------
100
What I did there is 1+1 is 10 in binary, or 2 in base 10. The 0 gets
dropped in the 2's place, and the 1 gets carried. Then we add it to
whatever is in the 4's place, and there you go.
In most real world places, you would convert the binary to hex, and use
that for addition, because it is simply easier.
On 3/20/2015 8:42 AM, Littlefield, Tyler via Blindmath wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Here you go, I wrote this a while back.
https://tysdomain.com/blog/?p=133
On 3/20/2015 10:37 AM, Bill Dengler (Windows 7 on Retina macBook Pro)
via Blindmath wrote:
I'll write a quick intro : Binary is the base 2 number system, so
it's place values are powers of 2. 2, 4, 8, 16, 32, 64, 128, 256,
512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, etc. To represent
a number in binary, you must represent it using 1 and the powers of
2. If a number has a power, insert a 1, if not 0. For example : 1
0b1 2 0b10 (2+0) 3 0b11 (2+1) 4 0b100 (4+0 twos+0 ones) 7 0b111
(4+2+1) 9 0b1001 (8+0 fours+0 twos+1) If you need more
clarification please email. Thanks, Bill. -----Original
Message----- From: Blindmath [mailto:blindmath-bounces at nfbnet.org]
On Behalf Of Jorge Paez via Blindmath Sent: Friday, March 20, 2015
10:16 AM To: Blind Math list for those interested in mathematics
Subject: [Blindmath] binary basics
Hi all: I was wondering if anyone knew of a book that I could get
on bookshare that would be a good introduction to binary numbers?
-- Thank you.
Jorge A. Paez
LinkedIn: http://www.linkedin.com/in/jorgeapaez
Elance page: http://jorgeapaez1994.elance.com
_______________________________________________ Blindmath mailing
list Blindmath at nfbnet.org<mailto:Blindmath at nfbnet.org>
http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org To
unsubscribe, change your list options or get your account info for
Blindmath:
http://nfbnet.org/mailman/options/blindmath_nfbnet.org/codeofdusk%40gmail.co
m
BlindMath Gems can be found at
<http://www.blindscience.org/blindmath-gems-home>
_______________________________________________ Blindmath mailing
list Blindmath at nfbnet.org<mailto:Blindmath at nfbnet.org>
http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org To
unsubscribe, change your list options or get your account info for
Blindmath:
http://nfbnet.org/mailman/options/blindmath_nfbnet.org/tyler%40tysdomain.com
BlindMath Gems can be found at
<http://www.blindscience.org/blindmath-gems-home>
- --
Take care,
Ty
twitter: @sorressean
web:http://tysdomain.com
pubkey: http://tysdomain.com/files/pubkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBAgAGBQJVDDHAAAoJEAdP60+BYxejSeoH+wcMG6uylLbHFUTcjgtqBqB1
r1I8+XQ8xBy87azSqIgVYuJSlTsndybEyiejHuxBC5L3yooIncuLz4XvE+QUu5aZ
SCbn0KLjV/v16RpeU/OgdYzQSvpRv+rugTcFGQw+S15XPkfcGl5hgVZln4nkfvdp
endMhSSpKYMHtO2vaD3fU/GB4mZZnOgnRxINGDATRIGn46lsTWgeOZAHhoaT+hlT
87FpyqGx7sxU3BtgQib6Ghgw3Ar3VvGfB7SVV0pAUHaFrNIefOaIjifiSWXitzgM
xs4Ewr5P6Hjj/8xMSjFPyX2lRRgJF0dhqF2s+yCkjlp9yEDEwHhT8hAwiEUTOYU=
=BGl+
-----END PGP SIGNATURE-----
_______________________________________________
Blindmath mailing list
Blindmath at nfbnet.org<mailto:Blindmath at nfbnet.org>
http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
To unsubscribe, change your list options or get your account info for
Blindmath:
http://nfbnet.org/mailman/options/blindmath_nfbnet.org/derek.riemer%40colorado.edu
BlindMath Gems can be found at
<http://www.blindscience.org/blindmath-gems-home>
--
------------------------------------------------------------------------
Derek Riemer
Department of Computer science Undergrad, proud CILA member, music
lover, avid skier, and much more.
"Not everything that is faced can be changed, but nothing can be changed
until it is faced." - James Baldwin
email me at derek.riemer at colorado.edu<mailto:derek.riemer at colorado.edu> <mailto:derek.riemer at colorado.edu>
Phone: (303) 906-2194
_______________________________________________
Blindmath mailing list
Blindmath at nfbnet.org<mailto:Blindmath at nfbnet.org>
http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
To unsubscribe, change your list options or get your account info for
Blindmath:
http://nfbnet.org/mailman/options/blindmath_nfbnet.org/jorgeapaez1994%40gmail.com
BlindMath Gems can be found at
<http://www.blindscience.org/blindmath-gems-home>
--
Thank you.
Jorge A. Paez
LinkedIn: http://www.linkedin.com/in/jorgeapaez
Elance page: http://jorgeapaez1994.elance.com
_______________________________________________
Blindmath mailing list
Blindmath at nfbnet.org<mailto:Blindmath at nfbnet.org>
http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
To unsubscribe, change your list options or get your account info for Blindmath:
http://nfbnet.org/mailman/options/blindmath_nfbnet.org/pdchapin%40amherst.edu
BlindMath Gems can be found at <http://www.blindscience.org/blindmath-gems-home>
More information about the BlindMath
mailing list