-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix computation of range length in certain cases (fix 0.5/#20373)
This is the 0.5 edition: with this change a, b, n are always hit exactly by a:s:a+n*s construction tests. There are two parts to the fix: 1) check that the lifted rational endpoint is exact even *after* we've reduced terms of the fractions; 2) apply the same fix that I've proposed for the length in the non-lifted case.
- Loading branch information
1 parent
6a1e339
commit 990ddf6
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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