Skip to content

Describe behavior of floating-point number handling #3178

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

Open
1 task
guimachiavelli opened this issue Mar 10, 2025 · 0 comments
Open
1 task

Describe behavior of floating-point number handling #3178

guimachiavelli opened this issue Mar 10, 2025 · 0 comments

Comments

@guimachiavelli
Copy link
Member

As usual when dealing with floating-point numbers, users might see discrepancies between the data they send Meilisearch and the data they later see stored in their documents.

For example, @qdequele sent -0.75634628 to Meilisearch, but when checking the document this document saw -0.756346289634598 (so, the same number, but with increased precision). This is due to differences between the actual value of the number and the way computers represent these numbers to us in a human-readable way.

Tasks

  • Update learn/engine/datatypes.mdx

References

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

No branches or pull requests

1 participant