-
Notifications
You must be signed in to change notification settings - Fork 274
Print binary values of floats #5322
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
Print binary values of floats #5322
Conversation
1e0457c
to
38f321c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just leaving it here, happy to do it if others think it is of any use
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="binary" type="xs:string"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛏️ this could be made more precise using a XSD type where we limit this to be only [01]+
38f321c
to
98f8882
Compare
Applied modern coding standards to pulled out code Co-authored-by: Peter Schrammel <[email protected]>
This is a precise representation of the floats, which can be useful
Also updat the LaTeX and markdown documentation to include the new attribute
Includes dependencies for builing the xml_spec LaTeX, as well as running the trace through the specification.
The links were not relative, so updated to be relative. Mentioned that you can find more in the readme.
5b20585
to
cdb0b78
Compare
@peterschrammel comments addressed and squashed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -348,4 +350,3 @@ comes with a small set of definitions, which includes functions such as | |||
|
|||
We also have a [list of interesting applications of | |||
CBMC](http://www.cprover.org/cbmc/applications/). | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't there be a newline here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was auto-removed on save, because there are two new lines at the end of the file
Failure is real - on Windows the complex variable name is prefixed with a _ , I guess this is to do with the name of the variable being reserved on windows so I'll just change the name as not part of the test |
complex is renamed in the trace to _complex on Windows. Therefore adapt the test to use a non-reserved name since not important to the test.
clang format was an apt get failure - restared |
Uh oh!
There was an error while loading. Please reload this page.