v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing User:BaronW

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 104: Line 104:
 
==== Translation (Binary to Decimal) ====
 
==== Translation (Binary to Decimal) ====
  
This is harder. For 3 reasons. First programing in decimal would be to absurdly complex even for this fort, so simply adding the numbers together is out. Second 999x999= a six digit number. Third for some god forsaken reason I was determined to make it accurate to 3 decimal places so I needed to build a separate engine capable of handling decimal places. The only way I could figure to make this work is for the engine to ask - is the answer larger than or equal to 900,000 (if yes subtract 900,000 from the answer and move to the 10,000's line) if no is the answer larger than or equal to 800,000 -- repeat until you reach - is the answer larger than 1. That is 54 operations. Do not try this at home.<br />
+
This is harder. For 3 reasons. First programing in decimal would be to absurdly complex even for this fort, so simply adding the numbers together is out. Second 999x999= a six digit number. Third for some god forsaken reason i was determined to make it accurate to 3 decimal places so i needed to build a separate engine capable of handling decimal places. the only way i could figure to make this work is for the engine to ask - is the answer larger than or equal to 900,000 (if yes subtract 900,000 from the answer and move to the 10,000's line) if no is the answer larger than or equal to 800,000 -- repeat until you reach - is the answer larger than 1. That is 54 operations. Do not try this at home.<br />
  
 
[[File:Binary-decimal2.PNG|100px]] [[File:Binary-decimal devision2.PNG|200px]] [[File:Binary-decimal devision3.PNG|500px]] [[File:Binary-decimal1-u.PNG|400px]] [[File:Binary-decimal-u-2.PNG|500px]]
 
[[File:Binary-decimal2.PNG|100px]] [[File:Binary-decimal devision2.PNG|200px]] [[File:Binary-decimal devision3.PNG|500px]] [[File:Binary-decimal1-u.PNG|400px]] [[File:Binary-decimal-u-2.PNG|500px]]
Line 110: Line 110:
 
=== Examples ===
 
=== Examples ===
  
[[File:80+523.PNG]][[File:364-420.PNG]][[File:482x724.PNG]][[File:562d64.PNG]]
+
[[File:80+523.PNG]] [[File:364-420.PNG]] [[File:482x724.PNG]] [[File:562d64.PNG]]

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)