Decimal floating point number to binary: Difference between revisions
Content added Content deleted
(Created page with "{{task}} Your task is to create a program that takes a decimal floating point number and displays its binary representation and vice-versa: takes a floating point binary numbe...") |
(set to draft status) |
||
Line 1: | Line 1: | ||
{{task}} |
{{draft task}} |
||
Your task is to create a program that takes a decimal floating point number and displays its binary representation and vice-versa: takes a floating point binary number and outputs its decimal representation. <br />The output would be something like this:<br /> |
Your task is to create a program that takes a decimal floating point number and displays its binary representation and vice-versa: takes a floating point binary number and outputs its decimal representation. <br />The output would be something like this:<br /> |
||
23.34375 => 10111.01011<br /> |
23.34375 => 10111.01011<br /> |
Revision as of 17:53, 2 February 2014
Decimal floating point number to binary is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
Your task is to create a program that takes a decimal floating point number and displays its binary representation and vice-versa: takes a floating point binary number and outputs its decimal representation.
The output would be something like this:
23.34375 => 10111.01011
1011.11101 => 11.90625