Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change how
math
rounds integer results
We need our `math` builtin to behave like `bc` with respect to rounding floating point values to integer to avoid breaking to many existing uses. So when scale is zero round down to the nearest integer. Another change for #3157.
- Loading branch information
Kurtis Rader
committed
Aug 24, 2017
1 parent
24d251f
commit b816cd6
Showing
2 changed files
with
6 additions
and
2 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