Category: Mathematics
-
Evaluating a number in IEEE 754 binary64 or double-precision floating-point format
-
IEEE 754 Double Precision Floating Point Format
It is a 64-bit format for storing floating-point numbers. Bias = 1023 It is also known as binary64 according to IEEE 754 standard given in 2008.
-
Representation of infinity in IEEE 754 format
Depending upon the sign bit infinity is classified into positive or negative. To be qualified for infinity, mantissa or fractional part of IEEE 754 format has to be all zeroes.
-
Evaluating a Binary number in IEEE 754 format
In this video, you will see how to manually Evaluate a Binary number which is represented in IEEE 754 format.
-
Express a number in IEEE-754 single-precision floating-point format
Sign 0 = positive number1 = negative number Biased Exponent(E) A bias of 127 is to be added to the exponent number. The biased exponent can range from -126 to +128Which can fit in 8-bit’s. Mantissa(F) There is a one-bit towards the left of the floating point. It must be noted here that is the…
-
Boolean Algebra
A + 0 = A A + 1 = A A . 0 = 0 A . 1 = A A + A’ = 1 A . A’ = 0 Commutative LawA + B = B + A Associative LawA + ( B + C ) = (A + B) + C Distributive LawA .…
-
IEEE-754 32-bit Single Precision Floating Point Representation
In an ARM Cortex, M4F processor-based microcontroller such as STM32L476vg; the floating-point number is stored in accordance to the IEEE-754. In the above video, I have written a small code using IAR workbench. When I debugged the program using IAR. I have observed that the floating-point number is converted by the compiler into IEEE 754…
-
Logic Gates
The logic gates are basic building blocks for any digital electronic computer. The AND, OR and NOT gates can be made from types of technology such as TTL, MOSFET, FET, or vacuum Tubes etc. AND Gate A B output (Y = A.B) 0 0 1 1 0 0 0 1 0 1 1 0 The…
-
Subtraction using 2’s complement method
S.N0. Decimal Sign Magnitude One Complement Two Complement 0 0 0000 0000 0000 1 1 0001 0001 0001 2 2 0010 0010 0010 3 3 0011 0011 0011 4 4 0100 0100 0100 5 5 0101 0101 0101 6 6 0110 0110 0110 7 7 0111 0111 0111 8 -0 1000 1111 =(0000)’+1=1111 + 1…
-
Convert Negative Decimal Number to Signed Binary number
I have explained how negative signed decimal numbers are converted into binary equivalent.