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

More precise types in arithmetic evaluation #1290

Merged
merged 1 commit into from
Aug 28, 2023

Commits on Aug 25, 2023

  1. More precise types in arithmetic evaluation

    Previously, we just casted most of our numeric types to `Long` when doing arithmetic operations in the `ValueEvalutor`. This PR tries to optimize that, to at least keep the type if both are the same. It is still somewhat inprecise when two different types of different bitwidth are involved. In these cases we mostly just still cast to `Long`.
    oxisto committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    d0c4ea0 View commit details
    Browse the repository at this point in the history