Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Mult for Mantissa

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

Nobody has claimed this yet.

Assessment

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

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.

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?

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

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from ucb-bar/berkeley-hardfloat

All issues in ucb-bar/berkeley-hardfloat

Similar issues

More Scala issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.