IronLanguages / IronLanguages/ironpython3

Add rich comparisons and operators(?) to IntPtr/UIntPtr

Open
#1,651 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

.NET interop
Dominant language
C#
Stars
2.8k
Forks
316
Avg merge
1d 9h
Merged PRs (30d)
1

Description

With IntPtr/UIntPtr being the backing types for nint/nuint it probably makes sense to add support for more numeric operations.

See also https://github.com/IronLanguages/ironpython3/pull/1650 which adds equality comparisons.

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 reviewing pull request #1650, which adds equality comparisons for IntPtr and UIntPtr. The issue does not identify files, tests, or a complete operator set, so first establish the intended rich comparisons and numeric operations; done means the agreed operations are implemented and covered by the project's relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.