Repository navigation
Rollup of 4 pull requests - #164554
Closed
tgross35 wants to merge 12 commits into
Closed
Rollup of 4 pull requests#164554tgross35 wants to merge 12 commits into
tgross35 wants to merge 12 commits into
Conversation
* Fallback from Grisu to Dragon in flt2dec front * Together with name change to ensure all use checked * Drop of Grisu benchmarks which tested Dragon fallback * Documentation at functions instead of module level The values dropped in the benchmarks of Grisu are still covered in the Dragon benchmarks. All use of the format functions shows in this patch due to the name change. This ensures we don't leave any code behind which still uses strategy directly by accident.
"A little copying is better than a little dependency." — Rob Pike * Equivalence comparison explicit instead of generic * Bit patterns specified as ops::Range constants * No panic on invalid UTF-8 in equivalence test
* No generics abstraction of Grisu and Dragon * The stringify! of input in assertion message * TestableFloat abstraction omitted with macro * MSVC omission direct on respective test * FIX test missed verification of the last digit * FIX test assertion value miss due the previous Unified signature plus description on assertion tools: * check_shortest! -> check_short! * try_exact! -> check_fixed_buf_match! * try_fixed! -> check_fixed_resolution! * check_exact & check_exact! -> check_fixed_mix! * check_exact_one -> check_coef_pow2!
Inverted assertion order. It's not the value of exp which steers the branche. The concern at hand is not having any digits (i.e, an empty buffer). The reason for not having digits can be asserted, as an optional double check, just to be more sure we ended up without digits for the correct reason. Both the current and the correct value are equivalent when rounded to three decimals.
flt2dec front of format_short & format_fixed The fallback to Dragon was placed in the Grisu module. As a result tests don't test what they appear to test, and some benchmarks from Grisu measured Dragon instead. The corrected values in the tests haven been verified against the Go implementation.
Bump libc to v0.2.191 Various bug fixes and additions including getexecpath() support.
…bzol [tiny] Remove some useless `.into()` calls Detected while working on rust-lang#129249.
… r=Urgau Clean up `tests/rustdoc-html` Yet another one. This one is a bit different though because it made me realize that a `!has` was not checking anything so I fixed it. I'm considering more and more to remove the use of `!` or at least strongly restrict it. r? @Urgau
Member
Author
|
@bors r+ force rollup=never p=5 |
Contributor
This comment has been minimized.
This comment has been minimized.
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Contributor
|
💔 Test for c86ad03 failed: CI. Failed job:
|
Contributor
|
PR #154505, which is a member of this rollup, was unapproved. |
Member
Author
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.
Successful merges:
.into()calls #164532 ([tiny] Remove some useless.into()calls)tests/rustdoc-html#164523 (Clean uptests/rustdoc-html)r? @ghost
Create a similar rollup