-
Notifications
You must be signed in to change notification settings - Fork 327
Use Rounding_Mode
instead of use_bankers
flag
#12641
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
Changes from 32 commits
d89e808
64127a6
57ee98d
07e91da
e5cfcbe
0939c5d
974e859
ae33956
e246663
859cca2
d74c53b
0c36aa9
168b76f
24778cb
2557fef
0e91142
4e4e0fc
29dc9f1
5c8b8ab
7fd7664
5be63fe
832af0c
90b425d
d80aa84
3f2ebc6
627cab1
df9486d
5e113ab
3837536
2b5b406
b6a18df
9808e51
5bcab3d
fdf7814
b08e419
15e5a47
e5c354e
afc577f
2637e4d
5fbbe9c
6e700ab
3ae9f3b
c356b6a
316c892
246689b
4090a0a
b3087a9
c1bcc1d
6e3f45e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
- min_value -> Standard.Base.Any.Any | ||
- negate self -> Standard.Base.Data.Numbers.Float | ||
- parse text:Standard.Base.Data.Text.Text locale:(Standard.Base.Data.Locale.Locale|Standard.Base.Nothing.Nothing)= format:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= -> Standard.Base.Any.Any | ||
- round self decimal_places:Standard.Base.Data.Numbers.Integer= use_bankers:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any | ||
- round self decimal_places:Standard.Base.Data.Numbers.Integer= rounding_mode:(Standard.Base.Data.Numeric.Rounding_Mode.Rounding_Mode|Standard.Base.Data.Boolean.Boolean)= -> Standard.Base.Any.Any | ||
- to_decimal self -> Standard.Base.Data.Decimal.Decimal | ||
- to_float self -> Standard.Base.Data.Numbers.Float | ||
- truncate self -> Standard.Base.Data.Numbers.Integer | ||
|
@@ -47,7 +47,7 @@ | |
- floor self -> Standard.Base.Data.Numbers.Integer | ||
- negate self -> Standard.Base.Data.Numbers.Integer | ||
- parse text:Standard.Base.Data.Text.Text radix:Standard.Base.Data.Numbers.Integer= -> Standard.Base.Any.Any | ||
- round self decimal_places:Standard.Base.Data.Numbers.Integer= use_bankers:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any | ||
- round self decimal_places:Standard.Base.Data.Numbers.Integer= rounding_mode:(Standard.Base.Data.Numeric.Rounding_Mode.Rounding_Mode|Standard.Base.Data.Boolean.Boolean)= -> Standard.Base.Any.Any | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
- to_decimal self -> Standard.Base.Data.Decimal.Decimal | ||
- to_float self -> Standard.Base.Data.Numbers.Float | ||
- truncate self -> Standard.Base.Data.Numbers.Integer | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
## Enso Signatures 1.0 | ||
## module Standard.Base.Data.Numeric.Rounding_Mode | ||
- type Rounding_Mode | ||
- Value rounding_mode:Standard.Base.Data.Numeric.Rounding_Mode.RoundingMode | ||
- bankers -> Standard.Base.Any.Any | ||
- half_up -> Standard.Base.Any.Any | ||
- Bankers | ||
- Half_Up | ||
- resolve_deprecated_rounding_mode type_name:Standard.Base.Data.Text.Text rounding_mode:(Standard.Base.Data.Numeric.Rounding_Mode.Rounding_Mode|Standard.Base.Data.Boolean.Boolean) ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this function visible to public at all? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is removed now. |
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.
Shall we indicate that this is a potentially breaking change?
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.
NetBeans has infrastructure for marking a change as incompatible and then rendering it as highlighted and/or in a special section: https://bits.netbeans.org/10.0/javadoc/org-openide-modules/apichanges.html