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

Shorter literals #125

Merged
merged 1 commit into from
Jan 4, 2023
Merged

Shorter literals #125

merged 1 commit into from
Jan 4, 2023

Conversation

chriseth
Copy link
Collaborator

@chriseth chriseth commented Jan 3, 2023

No description provided.

@@ -36,8 +38,13 @@ pub struct SMTExpr {

impl From<u64> for SMTExpr {
fn from(input: u64) -> SMTExpr {
let formatted = if input < 1000 {
format!("(_ bv{input} 256)")
Copy link
Owner

Choose a reason for hiding this comment

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

Where's this one defined then?

src/smt.rs Show resolved Hide resolved
@chriseth chriseth merged commit fee9f2d into main Jan 4, 2023
@chriseth chriseth deleted the shorter_literals branch January 4, 2023 12:26
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.

None yet

2 participants