Skip to content

Add BitOperations.IsPow2 polyfill (#575) - #577

Merged
SimonCropp merged 1 commit into
mainfrom
bitoperations-ispow2
Aug 12, 2026
Merged

Add BitOperations.IsPow2 polyfill (#575)#577
SimonCropp merged 1 commit into
mainfrom
bitoperations-ispow2

Conversation

@SimonCropp

Copy link
Copy Markdown
Owner

Recreates System.Numerics.BitOperations on targets before netcoreapp3.0, and adds the missing IsPow2 overloads as static extension members where the type exists but the overloads do not (IsPow2 landed in net6.0, its nint/nuint overloads in net7.0).

Recreates System.Numerics.BitOperations on targets before netcoreapp3.0, and
adds the missing IsPow2 overloads as static extension members where the type
exists but the overloads do not (IsPow2 landed in net6.0, its nint/nuint
overloads in net7.0).
@SimonCropp SimonCropp added this to the 11.1.0 milestone Aug 12, 2026
@SimonCropp
SimonCropp merged commit 50fffb5 into main Aug 12, 2026
4 of 6 checks passed
@SimonCropp
SimonCropp deleted the bitoperations-ispow2 branch August 12, 2026 12:00
This was referenced Aug 12, 2026
This was referenced Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant