Anonymous user
Decimal floating point number to binary: Difference between revisions
Decimal floating point number to binary (view source)
Revision as of 20:37, 25 July 2019
, 4 years ago→{{header|dc}}: bc
(→{{header|dc}}: bc) |
|||
Line 9:
1011.11101 => 11.90625
<br><br>
=={{header|bc}}==
<lang bc>
obase = 2
scale=30
scale=100
3.14159265358979323846264338327950288419716939937510
11.00100100001111110110101010001000100001011010001100001000110100110001001100011001100010100010111000000011011100000111001101000100101001000000100100111000001000100010011
</lang>
=={{header|dc}}==
Line 43 ⟶ 56:
-11.90625
$</lang>
=={{header|D}}==
|