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

Scientific Notation not Supported #235

Open
stephensj2 opened this issue Jan 27, 2020 · 0 comments
Open

Scientific Notation not Supported #235

stephensj2 opened this issue Jan 27, 2020 · 0 comments

Comments

@stephensj2
Copy link
Collaborator

Solidity allows users to express large numbers in scientific notation like so:
x = 2.5e1;
Such an assignment is relatively common in tokens as they make specifying large numbers such as the token limit easy. However, when VeriSol tries to translate such a value, it throws the following error:
VeriSol translation error: The value could not be parsed.

It would be useful if VeriSol could identify the value that caused the translation error if this construct was difficult to support. A test case is given below.

test.txt

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

No branches or pull requests

1 participant