-
Notifications
You must be signed in to change notification settings - Fork 317
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
Rename Decimal to Float #7807
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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 😃
There was a problem hiding this 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!
...ime/src/bench/java/org/enso/interpreter/bench/benchmarks/semantic/TypePatternBenchmarks.java
Outdated
Show resolved
Hide resolved
engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Number.java
Show resolved
Hide resolved
There was a problem hiding this 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
f7902d1
to
596fd89
Compare
Pull Request Description
Implements #6889.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.