Talk:Decimal floating point number to binary: Difference between revisions

(→‎What is a "decimal floating point number"?: added comments, added a new section. -- ~~~~)
Line 4:
: REXX stores all values (including the aforementioned numbers) as a (character) '''string''', not a BCD. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:07, 4 February 2014 (UTC)
: I would hope that   ''decimal floating point number''   wouldn't be re-defined as a decimal floating point number being stored in binary. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:07, 4 February 2014 (UTC)
 
:: Technically, that decimal string is just the serialisation in Tcl. It's also a good-old IEEE binary double. People are encouraged to think in terms of the serialised forms, sure, but it's terribly slow to do everything that way. (We know because Tcl used to work that way, long ago.)
:: I ''believe'' the task is asking for a printed form that is in base two, i.e., that uses only the digits <tt>0</tt> and <tt>1</tt> (and appropriate non-digit characters). Thus, <tt>0.75</tt><sub>dec</sub> is the same as <tt>0.11</tt><sub>bin</sub>. –[[User:Dkf|Donal Fellows]] ([[User talk:Dkf|talk]]) 00:35, 5 February 2014 (UTC)
 
==range of numbers==
Anonymous user