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

Adds lazy reader support for decimals #628

Merged
merged 33 commits into from
Sep 1, 2023
Merged

Adds lazy reader support for decimals #628

merged 33 commits into from
Sep 1, 2023

Conversation

zslayton
Copy link
Contributor

Builds on outstanding PRs #612, #613, #614, #616, #617, #619, #620, #621, #622, #623, and #627.

Adds lazy reader support for decimals.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov
Copy link

codecov bot commented Aug 20, 2023

Codecov Report

Patch coverage is 95.06% of modified lines.

Files Changed Coverage
src/lazy/text/encoded_value.rs 0.00%
src/lazy/text/value.rs 0.00%
src/lazy/text/matched.rs 91.45%
src/lazy/text/buffer.rs 100.00%
src/lazy/text/raw/reader.rs 100.00%
src/types/timestamp.rs 100.00%

📢 Thoughts on this report? Let us know!.

@zslayton zslayton marked this pull request as ready for review August 20, 2023 21:58
MatchTest::new(input).expect_mismatch(match_length(TextBufferView::match_decimal));
}
let good_inputs = &[
"5.", "-5.", "5.0", "-5.0", "5.0d0", "-5.0d0", "5.0D0", "-5.0D0", "5.0d+1", "-5.0d-1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add 5d0 and 5.d0 (basically, decimals that have an exponent but no fractional digits)?

@zslayton zslayton self-assigned this Aug 29, 2023
Base automatically changed from lazy-sexps to main September 1, 2023 14:54
@zslayton zslayton merged commit c288e6b into main Sep 1, 2023
@zslayton zslayton deleted the lazy-decimals branch September 1, 2023 15:21
zslayton added a commit that referenced this pull request Sep 7, 2023
zslayton added a commit that referenced this pull request Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants