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

flat_buffers.dart putFloat64 is wrong #8070

Closed
Llamadmiral opened this issue Aug 15, 2023 · 2 comments · Fixed by #8290
Closed

flat_buffers.dart putFloat64 is wrong #8070

Llamadmiral opened this issue Aug 15, 2023 · 2 comments · Fixed by #8290

Comments

@Llamadmiral
Copy link
Contributor

Current:

void putFloat64(double value) {
_prepare(_sizeofFloat64, 1);
_setFloat32AtTail(_tail, value);
}

Correct:

  void putFloat64(double value) {
    _prepare(_sizeofFloat64, 1);
    _setFloat64AtTail(_tail, value);
  }

Please fix as this makes all float64 structs wrongly encoded.
thanks

Copy link

This issue is stale because it has been open 6 months with no activity. Please comment or label not-stale, or this will be closed in 14 days.

@github-actions github-actions bot added the stale label Feb 13, 2024
@Llamadmiral
Copy link
Contributor Author

not-stale

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 a pull request may close this issue.

1 participant