Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 committed Feb 6, 2020
1 parent 3ddd231 commit 1c28cbc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion types/mydecimal.go
Original file line number Diff line number Diff line change
Expand Up @@ -2088,7 +2088,6 @@ func doDivMod(from1, from2, to, mod *MyDecimal, fracIncr int) error {
to.digitsInt = int8(wordsIntTo * digitsPerWord)
to.digitsFrac = int8(wordsFracTo * digitsPerWord)
}

idxTo := 0
stopTo := wordsIntTo + wordsFracTo
if mod == nil {
Expand Down
2 changes: 1 addition & 1 deletion types/mydecimal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ func (s *testMyDecimalSuite) TestDivMod(c *C) {
{"1", "3", "0.333333333", nil},
{"1.000000000000", "3", "0.333333333333333333", nil},
{"1", "1", "1.000000000", nil},
{"0.0123456789012345678912345", "9999999999", "0.0000000000012345678902469135781", nil},
{"0.0123456789012345678912345", "9999999999", "0.000000000001234567890246913578148141", nil},
{"10.333000000", "12.34500", "0.837019036046982584042122316", nil},
{"10.000000000060", "2", "5.000000000030000000", nil},
{"51", "0.003430", "14868.804664723032069970", nil},
Expand Down

0 comments on commit 1c28cbc

Please sign in to comment.