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

Implement i128 and u128. #284

Merged
merged 13 commits into from
Dec 3, 2020
Merged

Implement i128 and u128. #284

merged 13 commits into from
Dec 3, 2020

Conversation

BriocheBerlin
Copy link
Contributor

Closes #199

@jonas-schievink jonas-schievink added this to the v0.2.0 milestone Nov 27, 2020
Copy link
Member

@japaric japaric left a comment

Choose a reason for hiding this comment

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

Looks great! Extending the format string is a breaking change so this needs to wait until v0.2.0 but I'll mark this as approved.

i128::min_value()
);

defmt::info!(
Copy link
Member

Choose a reason for hiding this comment

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

could you also test here that we can format u128 and i128 values using the {:?} format specifier?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it ok now?

Copy link
Member

Choose a reason for hiding this comment

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

yes, looks good; thanks! I'll re-approve the PR but it will need a rebase before it can be merged.

@japaric japaric added the breaking change fix / feature / improvement involves a breaking change and needs to wait until next minor version label Nov 27, 2020
justahero and others added 11 commits December 1, 2020 18:05
* expand test to include `i64` and `i128` types
Use the new i128 argument in qemu example `log`.

Please **note** that this currently leads to "defmt version mismatch"
when executing the log binary.
The change updates the `log.rs` program to log i128 type.

Co-authored-by: Brigitte <brigitte.markmann@asquera.de>
@Lotterleben
Copy link
Contributor

Awesome, feel free to squash and merge!

@BriocheBerlin BriocheBerlin merged commit 497cc50 into main Dec 3, 2020
@BriocheBerlin BriocheBerlin deleted the knurling-rs/gh199 branch December 3, 2020 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change fix / feature / improvement involves a breaking change and needs to wait until next minor version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

impl Format for i128/u128
5 participants