Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Floating point format
Name: manojkumar.paul Date: August 7, 2007 at 07:06:17 Pacific OS: Win-2000 CPU/Ram: 512 Product: Intel
Comment:
hello friends, Help! Please help me out, what is the process of solving this problem, what should I do?
Using the floating point format convert the floating point number represented by 11000100110101101111010011010000 to base 10 (decimal) representation where, Sign bit = negative = 1 Base 2 8-bit excess-128 exponent 23 bits of mantissa
Name: Razor2.3 Date: August 7, 2007 at 20:20:59 Pacific
Reply:
Basically, you do what we did for the floating point numbers, only backwards: Step 0: 1 10001001 10101101111010011010000 becomes: Sign = 1 e = 10001001 s = 10101101111010011010000 Answer = ?
Step 1: Convert the 'e' to base-10, add the "1." to the front of the 's'. e = 137 - 127 (b10) s = 1.1010110111101001101 Answer = -?
Step 2: e = e - 127 e = 10 (b10) s = 1.1010110111101001101 Answer = -?
Step 3: Move the '.' e number of spaces. s = 11010110111.101001101 Answer = -?
Step 4: Our answer (in base-2) Answer = -11010110111.101001101(b2)
Summary: One more question Sir! and the final one. The question is: ******************************************* Using the floating point format, convert the binary number -101011101010.11101111 to the floating...
Summary: Hello, I wrote a numerical analysis program (with matrices operation in it) and found some problems in using math operator. This program was compiled by using GNU Compiler Collection /DJGPP (gcc) an...
Summary: I'm trying to use the RDTSC (Read Time-Stamp Counter) x86 instruction in my C program. Now I have the instruction working... but I want to take the entire 64-bits and divide them by 400,900,000 (400.9...