numpy / numpy/numpy-quaddtype

Feature: bitcast to an equal-sized unsigned integer type

Open
#54 3 comments 0 reactions 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

Bitcasting (via numpy.view) from floating point to integer is incredibly useful, but currently not possible since there is no 128bit integer type in numpy.

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

Start by examining NumPy's view and dtype handling relevant to bitcasting. Define the expected equal-sized unsigned integer behavior for floating-point values, then identify the affected implementation and tests; done means the supported bitcasts work through numpy.view and are covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.