Rdatatable / Rdatatable/data.table
[R-Forge #1075] Create decimal() class ?
Open
Nobody has claimed this yet.
feature request
- Dominant language
- R
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 14h 4m
- Merged PRs (30d)
- 4
Description
Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link
It would store fixed precision floats (such as 4 d.p.) as integer but Ops methods etc would treat it as double.
To allow radix sorting on decimal columns in keys.
Contributor guide
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
Review the R-Forge #1075 description and the data.table code paths for Ops methods and radix sorting. Clarify the fixed-precision representation and how decimal columns should behave in keys; the work is done when the decimal class stores fixed-precision values as integers, Ops methods treat them as doubles, and radix sorting supports them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100