boostorg / boostorg/multiprecision
Computing the square of a number
Open
- Dominant language
- C++
- Stars
- 265
- Forks
- 128
- Avg merge
- 4h 48m
- Merged PRs (30d)
- 2
Description
I am wondering if there is a function for computing the square of an integer. I ask because GMP has [` mpn_sqr()` ](https://gmplib.org/manual/Low_002dlevel-Functions).
Contributor guide
No contributing guide indexed for this repository
Research direction
Begin with the issue's GMP mpn_sqr reference and inspect Boost.Multiprecision's existing integer-operation API. Confirm whether a square operation is already available; if not, determine the requested behavior and identify appropriate tests before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100