Rdatatable / Rdatatable/data.table

[R-Forge #1075] Create decimal() class ?

Open
#428 6 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.