Binary integer decimal: Difference between revisions

Content deleted Content added
Line 15:
A BID number has three fields, the sign the exponent and the magnitude.
 
If the top bits of the exponent are less than or equal binary 1110:
If
 
''s'' = +1 (positive numbers) when the sign bit is 0
Line 25:
''m'' = ''significand''.
 
The number has the value:
 
''v'' = ''s'' &times; 10''<sup>e</sup>'' &times; ''m''
 
The ''exponent'' and ''significand'' are stored as binary integers.
 
If the top bits of the exponent are greater than 1110, the encoding is not for a value. If the top five bits of the exponent field have the encoding 11110 binary, the number represented is + or - infinity, the sign bit determines which. Nan is represented by the tops five bits of the exponent field being set to 11111.
 
==Cohort==