|
-
August 10th, 2005, 05:29 PM
#1
using unions with float and long
i need to know how to use unions to extract and return the sign, the intended exponent value and the full 24-bit mantissa from a 32-bit floating-point number. I know that it has something to do with using the fact that the two share the same space because of the union, but i'm not too sure on the coding to make the values apparant...
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
|