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

Force all values to float64 for math #3613

Merged
merged 3 commits into from
Aug 10, 2015
Merged

Force all values to float64 for math #3613

merged 3 commits into from
Aug 10, 2015

Conversation

otoolep
Copy link
Contributor

@otoolep otoolep commented Aug 10, 2015

Fixes issue #3000

Any literal values in a math query e.g. the '2' in 'value * 2' are stored as float64 by the parser, so all other values must be cast to this type. This does mean that precision may be lost if the integer values are greater than 2^53.

Any literal values in a math query e.g. the '2' in 'value * 2' are
stored as float64, so all other values must be cast to this type. This
does mean that precision may be lost if the integer values are greater
than 2^53.
@otoolep otoolep changed the title Fix int math Force all values to float64 for math Aug 10, 2015
@otoolep
Copy link
Contributor Author

otoolep commented Aug 10, 2015

Assuming +1 from @pauldix, comments on PR #3611

otoolep added a commit that referenced this pull request Aug 10, 2015
Force all values to float64 for math
@otoolep otoolep merged commit 95b63ff into master Aug 10, 2015
@otoolep otoolep deleted the fix_int_math branch August 10, 2015 20:25
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.

None yet

1 participant