Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Binary system
(view source)
Revision as of 21:56, May 10, 2009
17 bytes removed
,
21:56, May 10, 2009
m
wikifying
Line 3:
Line 3:
To increment a binary number, follow this rule:
To increment a binary number, follow this rule:
−
1.
Current digit is the end digit
+
#
Current digit is the end digit
−
2.
Change the current digit
+
#
Change the current digit
−
3.
If current digit = 1
+
#
If current digit = 1
−
4.
Then:
+
##
Then:
−
4a.
Shift current digit to away from the end digit
+
###
Shift current digit to away from the end digit
−
4b.Goto
step 2
+
###Go to
step 2
−
5:
Else:
+
##
Else:
−
5a:
You're done.
+
###
You're done.
A more concrete example can be found here:
A more concrete example can be found here:
Iduan
SkipCaptcha, nsSupply_SidersR, nsSupply_Siders_
8,436
edits
Navigation menu
Personal tools
Log in
Namespaces
Article
talk page
Variants
Views
Read
View source
View history
More
Search
Popular Links
Main Page
Recent changes
New Pages
Random page
Statistics
Edit Console
Special pages
Printable version