Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mult for Mantissa #35

Open
IAMAl opened this issue Oct 4, 2019 · 1 comment
Open

Mult for Mantissa #35

IAMAl opened this issue Oct 4, 2019 · 1 comment

Comments

@IAMAl
Copy link

IAMAl commented Oct 4, 2019

I look into MulAddRecFN.scala which is seemed that body of float mult-add (out = A*B + C).
The flow is indeed as follows;
in -> preMul -> postMul -> out

  • preMul
  1. extract sign, significant, mantissa by rawFloatFromRecFN().
  2. Significant of C alignment
  3. output
  • postMul
  1. Addition with C (line #206)
  2. Normalize for result
  3. Rounding for result

I could not find multiplication for mantissa part of A and B operands, where actually does it?

@IAMAl IAMAl changed the title Mult for Significant Mult for Mantissa Oct 5, 2019
@aamartin0000
Copy link

Don't know if you still need a reply, but see line 323 of MulAddRecFN.scala. It uses outputs of preMul, then feeds inputs of postMul.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants