Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make numberic literals more readable
- Loading branch information
1 parent
e0913ac
commit f284b25
Showing
14 changed files
with
169 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -569,7 +569,7 @@ def prepareWidget(widget_descr) | |
) | ||
elsif widget == :intfield | ||
min = Ops.get_integer(w, "minimum", 0) | ||
max = Ops.get_integer(w, "maximum", 2147483647) | ||
max = Ops.get_integer(w, "maximum", 2_147_483_647) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jreidinger
Author
Member
|
||
Ops.set( | ||
w, | ||
"widget", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Maybe an expression form, like
2 * 2**30 - 1
would be better in this case...