Unity-Technologies / Unity-Technologies/Unity.Mathematics
log function with custom base missing
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
Can an overload log(value, base) be added so we don't need to change base manually?
should be something like log2(value)/log2(base)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing log and log2 overloads in the C# math library and inspect how related math functions are tested. Implement the requested value-and-base overload, then verify that its results match the stated logarithm relationship across representative values and bases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100