15 Fixed and Floating-Point arithmetic Flashcards
Fixed point numbers?
Binary fixed point numbers?
What is the decimal representation of 1101.101?
13.625
There are two ways of representing signed numbers:
1) sign/magnitude notation
2) two‘s complement notation
What is the fixed point representation of -2.375?
Arithmetic with fixed point numbers
Compute the following: 0.75 + (-0.625)
How are Fixed point numbers represented in a computer?
8 bit fixed point number range?
Range of values with 8 bits: +7.9375, -7.9375
Why do we need floating point numbers?
The normal scientific notation is of the form for floating point integers?
The number 4.1x103 , which is the decimal scientific notation of 41000, has positive sign, mantissa of 4.1, base of 10 and exponent of 3. Here the decimal point floats to the position right after the most significant bit.
In binary floating point representation, the mantissa is composed of 0s and 1s, and the base is always 2.
8 bit Floating point numbers represented in a computer
How do we store a 8 bit floating point number with a negative exponent?
Formula to obtained the bias number?