indutny / indutny/bn.js

Feature request: divRound should be able to round up

Open
#79 2 comments 0 reactions 0 assignees View on GitHub
feature / refactor
Dominant language
JavaScript
Stars
1.2k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

I need a way to round up the remained in division. Would that be a good option for divRound?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating divRound in the bn.js source and reviewing its current division and rounding behavior. Determine how the requested round-up handling should be represented, then check the existing tests for the appropriate place to cover the new behavior and verify that the result matches the request.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.