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

Adds a good test for 32-bit binary float values. #55

Merged
merged 1 commit into from
Dec 18, 2019
Merged

Conversation

tgregg
Copy link
Contributor

@tgregg tgregg commented Dec 18, 2019

Issue #, if available:
#11

Description of changes:
The contents of the file is as follows:

e0 01 00 ea    // IVM
44 00 00 00 00 // 0e0
44 80 00 00 00 // -0e0
44 40 86 66 66 // 4.2
44 c0 86 66 66 // -4.2
44 ff 80 00 00 // -inf
44 7f 80 00 00 // +inf
44 ff 7f ff ff // minimum 32-bit float
44 7f 7f ff ff // maximum 32-bit float
44 7f ff ff ff // nan

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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.

2 participants