Repository navigation
Read the side a quotient arrives at a constant from by its parts in a limit - #2415
Merged
Rafael-SOWNet merged 1 commit intoNov 12, 2026
Merged
Conversation
… limit a / b - c is (a - c b) / b, and its sign near the point is the sign of a - c b times that of b, two smaller questions than its slope. A step function of a quotient tending to a constant asks exactly that: floor(log(x / 2, tan(x))) at 0 from the right was left unevaluated after 20 s in l'Hopital's rule on the slope, and is now 0 in 0.35 s, as ln(tan(x)) - ln(x / 2) tends to ln(2) and ln(x / 2) to -oo. floor(log(pi / x, tan(x))) there is -1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2415 +/- ##
==========================================
- Coverage 86.81% 86.79% -0.02%
==========================================
Files 312 312
Lines 69481 69489 +8
Branches 20295 20298 +3
==========================================
- Hits 60318 60315 -3
- Misses 4929 4939 +10
- Partials 4234 4235 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Rafael-SOWNet
deleted the
feature/a-step-of-a-logarithm-quotient-in-a-limit
branch
November 12, 2026 02:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SignNearnow reads the side a quotient arrives at a constant from by the quotient's parts.a / b - cis(a - c b) / b, so its sign is the sign ofa - c btimes the sign ofb. Those are two smaller questions than the slope that l'Hôpital's rule was asked for before. A step function of a quotient tending to a constant, such asfloororceil, needs exactly this sign.log(x / 2, tan(x))at 0 from the right isln(tan(x)) / ln(x / 2), which tends to 1.ln(tan(x)) - ln(x / 2)tends toln(2), andln(x / 2)tends to -oo. So the quotient arrives from below, and its floor is 0.floor(log(x / 2, tan(x))), Right0, 0.29 sfloor(log(pi / x, tan(x))), Right-1, 0.30 sfloor(tanh(1 / x)), Right0, 0.17 sfloor(tanh(1 / x)), BothSidesNaN, 0.32 sfloor(tanh(1 / x))from the left was already-1on master. The sides differ, so the two-sided limit isNaN, assgn(x)andfloor(x)at 0 already are. All four rows are in BREAKING-CHANGES.md and in the new test.The new check runs after the power's own reading from #2414 and before the slope. It applies only to the shape
a / b - c, withcfree of the variable.Checked on this branch:
floor(tanh(1 / x))at 0 from the right, answered0. limitcheck samples it at 1, becausetanh(10^4)rounds to exactly 1.0 in double; the true value stays below 1, so0is right.🤖 Generated with Claude Code