ucb-bar / ucb-bar/berkeley-hardfloat

Mult for Mantissa

Open
#35 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
393
Forks
111
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read MulAddRecFN.scala, starting with the preMul and postMul flow described in the issue and the addition at line 206. Trace the mantissa path for operands A and B to determine where multiplication occurs; done means identifying that operation in the existing flow and documenting the relevant location.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.