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

Rename Decimal to Float #7807

Merged
merged 6 commits into from
Sep 14, 2023
Merged

Rename Decimal to Float #7807

merged 6 commits into from
Sep 14, 2023

Conversation

hubertp
Copy link
Contributor

@hubertp hubertp commented Sep 13, 2023

Pull Request Description

Implements #6889.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.

Copy link
Member

@radeusgd radeusgd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@@ -18,7 +18,7 @@ polyglot java import org.enso.base.polyglot.NumericConverter
most_specific_value_type : Any -> Boolean -> Value_Type
most_specific_value_type value use_smallest=False =
case value of
_ : Decimal -> Value_Type.Float Bits.Bits_64
_ : Float -> Value_Type.Float Bits.Bits_64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So good to see the Enso types and Value_Types finally consistent 😃

Copy link
Member

@JaroslavTulach JaroslavTulach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes in Java & Scala code look sane and I am surprise there isn't even too much of them. If the tests run, merge it in!

Copy link
Contributor

@farmaazon farmaazon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accepting Tiny GUI changes

@hubertp hubertp force-pushed the wip/hubert/6889-decimal-to-float branch from f7902d1 to 596fd89 Compare September 14, 2023 12:59
@hubertp hubertp added the CI: Ready to merge This PR is eligible for automatic merge label Sep 14, 2023
@mergify mergify bot merged commit 1ee3d8f into develop Sep 14, 2023
25 of 26 checks passed
@mergify mergify bot deleted the wip/hubert/6889-decimal-to-float branch September 14, 2023 15:01
jdunkerley pushed a commit that referenced this pull request Sep 15, 2023
@radeusgd radeusgd mentioned this pull request Oct 4, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants