Rename _rrevert to rrevert

This commit is contained in:
Amir Bandeali
2019-08-11 15:22:19 -07:00
parent ccce7e001e
commit 0e2616f16b
16 changed files with 72 additions and 72 deletions

View File

@@ -47,7 +47,7 @@ library LibMath {
denominator,
target
)) {
LibRichErrors._rrevert(LibMathRichErrors.RoundingError(
LibRichErrors.rrevert(LibMathRichErrors.RoundingError(
numerator,
denominator,
target
@@ -78,7 +78,7 @@ library LibMath {
denominator,
target
)) {
LibRichErrors._rrevert(LibMathRichErrors.RoundingError(
LibRichErrors.rrevert(LibMathRichErrors.RoundingError(
numerator,
denominator,
target
@@ -152,7 +152,7 @@ library LibMath {
returns (bool isError)
{
if (denominator == 0) {
LibRichErrors._rrevert(LibMathRichErrors.DivisionByZeroError());
LibRichErrors.rrevert(LibMathRichErrors.DivisionByZeroError());
}
// The absolute rounding error is the difference between the rounded
@@ -205,7 +205,7 @@ library LibMath {
returns (bool isError)
{
if (denominator == 0) {
LibRichErrors._rrevert(LibMathRichErrors.DivisionByZeroError());
LibRichErrors.rrevert(LibMathRichErrors.DivisionByZeroError());
}
// See the comments in `isRoundingError`.