2. There are two types of arithmetic
operations :-
Integer Arithmetic
Real floating point arithmetic
Integer Arithmetic :- deals with
integer operands.
i.e. - num without fractional parts
Real Arithmetic :- use number with
fractional parts as operands and is
use
Real no. = mantissa * 10^exponent
3. COMPUTER
REPRESENTATION OF
FLOATING POINT NUMBERS
In the CPU, a 32-bit floating
point number is represented
using IEEE standard format as
follows:
S | EXPONENT | MANTISSA
where S is one bit, the EXPONENT
is 8 bits, and the MANTISSA is
23 bits.
4. The mantissa
represents the leading
significant bits in the number.
It is made less than 1 and
greater than or equal to 0.1
The exponent
is used to adjust the position
of the binary point (as opposed
to a "decimal" point)
In power of 10 and multiplies
with mantissa
5. Normalization :-
Mantissa and Exponent have
their own independent signs
While storing no. of the
leading digit in the mantissa,
mantissa is always made non-
zero by appropriately shifting
it and adjusting the value of
the exponent
The shifting of mantissa to the left
till its most significant digit is non-
zero is called normalization.