-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force decimals in scientific notation for OpenQASM 2.0 (#6802)
* Force decimals in scientific notation for OpenQASM 2.0 - OpenQASM 2.0 grammar requires decimal points in scientific notation. For instance, 1e-10 is not allowed according to a strict interpretation of the grammar. - This PR forces the formatter to use a decimal when printing out scientific notation.
- Loading branch information
1 parent
02f2f84
commit 76125a2
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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