Skip to content

Conversation

@JasonGross
Copy link

I noticed this when reading the code, not when running it, so it's possible the compiler is already smart enough to perform this optimization, and probably this is not much of a bottleneck in practice.

Mantissa alignment is only used in the final else branch, so we can delay its computation.

(I noticed this when reading the code, not when running it, so it's possible the compiler is already smart enough to perform this optimization, and probably this is not much of a bottleneck in practice.)
@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 Dec 20, 2025
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Mathlib CI can not be attempted yet, as the nightly-testing-2025-12-20 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-mathlib, Mathlib CI should run now. You can force Mathlib CI using the force-mathlib-ci label. (2025-12-20 21:22:58)

leanprover-bot added a commit to leanprover/reference-manual that referenced this pull request Dec 20, 2025
@leanprover-bot leanprover-bot added the builds-manual CI has verified that the Lean Language Reference builds against this PR label Dec 20, 2025
@leanprover-bot
Copy link
Collaborator

leanprover-bot commented Dec 20, 2025

Reference manual CI status:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-manual CI has verified that the Lean Language Reference builds against this PR 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.

3 participants