numpy / numpy/numpy-quaddtype

SleefQuadPrecDType kind, char, num

Open
#38 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
24
Forks
6
Avg merge
5d 41m
Merged PRs (30d)
3

Description

The kind, char, and num attributes of the SleefQuadPrecDType have weird values:

  • kind is \x00
  • char is \x00
  • num is -1

At least kind should be set to f, the others can probably be left as-is since this is an extension dtype that doesn't have a unique identifier yet.

I'd be happy to submit a patch for kind if you can give me guidance on where to fix it.

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

Locate the SleefQuadPrecDType definition and inspect how its kind, char, and num attributes are assigned. Update the kind value to f, leave the other attributes unchanged unless the implementation indicates otherwise, and verify the dtype reports the expected attributes.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
data
Issue type
Bug
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.