|
-
Dec 3rd, 2006, 10:31 AM
#1
Thread Starter
New Member
-
Dec 12th, 2006, 08:00 PM
#2
Member
Re: Can someone help
So look up the standard. You'll find the float is made of three parts: sign, mantissa and exponent.
For adding check the signs, if they aren't the same this should be handled as subtract. Else check the exponents, for the least significant float shift the mantissa, add the relevant digits to the mantissa of the other number. In case of overflow adjust exponent, then put all the parts together again.
Subtraction and multiplication work similar, seperate the parts, do your work on them, and put them back together.
-
Dec 13th, 2006, 10:00 AM
#3
Thread Starter
New Member
Re: Can someone help
Yes, I understand the logic of it. What i am supposed to do the process i have perfect but the problem is the microcode. I have to write the microcode that is the hard part. That is where the failure of my program occurs.
If someone has it please reply to this!!! i appreciate it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|