Binary integer decimal: Difference between revisions

Content deleted Content added
m wikilink significand
Line 24:
 
* If the significand starts with <code>0mmm</code>, omitting the leading 0 bit lets the signficand fit into 23 bits:
s 00eeeeee (0)mmm mmmmmmmmmm mmmmmmmmmm
s 01eeeeee (0)mmm mmmmmmmmmm mmmmmmmmmm
s 10eeeeee (0)mmm mmmmmmmmmm mmmmmmmmmm
* If the significand starts with <code>100m</code>, omitting the leading 100 bits lets the significand fit into 21 bits. The exponent is shifted over 2 bits, and a <code>11</code> bit pair shows that this form is being used:
s 11 00eeeeee1100eeeeee (100)m mmmmmmmmmm mmmmmmmmmm
s 11 01eeeeee1101eeeeee (100)m mmmmmmmmmm mmmmmmmmmm
s 11 10eeeeee1110eeeeee (100)m mmmmmmmmmm mmmmmmmmmm
* Infinity, quiet [[NaN]] and signaling NaN use encodings beginning with <code>s 1111</code>:
s 11110 xxxxxxxxxxxxxxxxxxxxxxxxxx