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

Update Value to Exact IEEE Floating Point Representation #2321

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

drganjoo
Copy link

Background

Some protocol tests were using the value 7.624 for a member shape of float type. However, this value does not align exactly with the IEEE floating-point representation and may lead to ambiguity in implementations when confirming serialization or deserialization correctness.

The tests have been updated to use 7.625, which can be precisely represented in IEEE format.

@drganjoo drganjoo requested a review from a team as a code owner June 12, 2024 17:43
@drganjoo drganjoo requested a review from haydenbaker June 12, 2024 17:43
@kstich kstich requested review from kstich and removed request for haydenbaker June 12, 2024 17:50
@kstich kstich merged commit 0564c53 into smithy-lang:main Jun 12, 2024
13 checks passed
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