Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gostnops
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wei.xuan
gostnops
Commits
1e239ee7
Commit
1e239ee7
authored
Jul 06, 2019
by
aliiohs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change package
parent
e7da9c7e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
decimal.go
math/big/decimal.go
+1
-1
decimal_benchmark_test.go
math/big/decimal_benchmark_test.go
+1
-1
decimal_test.go
math/big/decimal_test.go
+2
-2
helper.go
math/big/helper.go
+1
-1
No files found.
math/big/decimal.go
View file @
1e239ee7
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
hessian
package
gxbig
import
(
"math"
...
...
math/big/decimal_benchmark_test.go
View file @
1e239ee7
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
hessian
package
gxbig
import
"testing"
...
...
math/big/decimal_test.go
View file @
1e239ee7
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
hessian
package
gxbig
import
(
"strings"
...
...
@@ -847,9 +847,9 @@ func TestDivMod(t *testing.T) {
}
for
_
,
tt
:=
range
tests
{
var
a
,
b
,
to
Decimal
ec
:=
DecimalMod
(
&
a
,
&
b
,
&
to
)
_
=
a
.
FromString
([]
byte
(
tt
.
a
))
_
=
b
.
FromString
([]
byte
(
tt
.
b
))
ec
:=
DecimalMod
(
&
a
,
&
b
,
&
to
)
assert
.
Equal
(
t
,
ec
,
tt
.
err
)
if
tt
.
err
==
ErrDivByZero
{
continue
...
...
math/big/helper.go
View file @
1e239ee7
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
hessian
package
gxbig
import
(
"math"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment