Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: IntX.minValue, IntX.maxValue, IntX.ofIntLE, IntX.ofIntTruncate #7081

Merged
merged 2 commits into from
Feb 14, 2025

Conversation

TwoFX
Copy link
Member

@TwoFX TwoFX commented Feb 14, 2025

This PR adds functions IntX.ofIntLE, IntX.ofIntTruncate, which are analogous to the unsigned counterparts UIntX.ofNatLT and UInt.ofNatTruncate.

@TwoFX TwoFX added the changelog-library Library label Feb 14, 2025
@TwoFX TwoFX requested a review from kim-em as a code owner February 14, 2025 09:45
@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc February 14, 2025 09:53 Inactive
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Feb 14, 2025
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 47548aa171f02cf0b61fc1eb6bcaee82bb50d060 --onto ae9d12aeaa075578c7ee3a5a585d0f9fb89cedd2. (2025-02-14 10:24:26)

@TwoFX TwoFX added this pull request to the merge queue Feb 14, 2025
Merged via the queue into master with commit 784444c Feb 14, 2025
18 checks passed
tobiasgrosser pushed a commit to opencompl/lean4 that referenced this pull request Feb 16, 2025
…uncate` (leanprover#7081)

This PR adds functions `IntX.ofIntLE`, `IntX.ofIntTruncate`, which are
analogous to the unsigned counterparts `UIntX.ofNatLT` and
`UInt.ofNatTruncate`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-library Library toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants