.

Monday, April 29, 2019

Investigate data representations Essay Example | Topics and Well Written Essays - 1000 words

analyse data standards - Essay ExampleThe above scheme can work fine as wide as there are unsigned come. A strategy had to be evolved to represent signed human activitys with consistent model of negative as well as positive numbers.Several representation systems pull through to represent signed numbers like the sign-and-magnitude, wizards accompaniment, twos complement, etc. Sign-and-magnitude and ones complement both use the closely significant bit to represent the sign of the number with 0 for positive and 1 for negative sign. An anomaly arises in the representation of the number zero itself. Since the most significant bit denotes the sign, a zero can be both negative, as in 10000000, as well as positive, as in 00000000. This ambiguity has led modern figurer systems design to adopt the twos complement which does not have this ambiguity.Twos complement represents positive numbers by converting simply from decimal to binary. So, a decimal 4 in 4-bit representation would be come 0100. Zero is uniquely represented by 0000. Negative numbers are introductory complemented and indeed a 1 is added to the result. A generic formula would be 2N-A+1 where N is the number of bits utilize and A is the number to be converted. See example of converting decimal -3 to twos complement down the stairsArithmetic functions can be purely addition based and no subtraction remains necessary. synthesis can be performed by adding the twos complement representations. The resulting number is the twos representation of final result. The range of uniquely representable numbers in N-bit systems are -2N-1 to +-2N-1-1 (Dandamudi 886).Floating point numbers are represented differently. They are divided into three parts, the sign bits for exponent and mantissa, the exponent and the mantissa. For example, if 205.347 is to be represented, it is first brought to a normal form of 2.05347 x 102 where 205347 is the mantissa and the power of 2 is the

No comments:

Post a Comment