Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
January 9, 2006, 1:17 am
rate this thread
Re: question about 32-bit interger arithmetic vs. 32-bit float arithmetic
Floating point has a mantissa and an exponent.
An FP multiply means integer multiplying the two mantissa parts,
and integer adding the two exponent parts. Normalization is needed
to fix up the decimal point location and make a final correction
to the exponent part. So yes, FP is more complex. You can see
someone's attempt to build an FPU here, which hints at the
http://www.opencores.org/cvsweb.shtml/fpu/FPU.pdf (page 4)