Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
b2program
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
b2program
Commits
cf8a88b7
Verified
Commit
cf8a88b7
authored
5 months ago
by
Miles Vella
Browse files
Options
Downloads
Patches
Plain Diff
use builtin clojure.BigInt constants
parent
2c5562ed
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!66
Refactor of Java BTypes
Pipeline
#151188
passed
5 months ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
btypes_big_integer/src/main/java/de/hhu/stups/btypes/BInteger.java
+2
-2
2 additions, 2 deletions
...g_integer/src/main/java/de/hhu/stups/btypes/BInteger.java
with
2 additions
and
2 deletions
btypes_big_integer/src/main/java/de/hhu/stups/btypes/BInteger.java
+
2
−
2
View file @
cf8a88b7
...
@@ -14,8 +14,8 @@ public final class BInteger extends Number implements Comparable<BInteger>, BObj
...
@@ -14,8 +14,8 @@ public final class BInteger extends Number implements Comparable<BInteger>, BObj
private
static
final
BigInteger
JBI_TWO
=
BigInteger
.
valueOf
(
2
);
private
static
final
BigInteger
JBI_TWO
=
BigInteger
.
valueOf
(
2
);
private
static
final
BigInteger
JBI_MINUS_ONE
=
BigInteger
.
valueOf
(-
1
);
private
static
final
BigInteger
JBI_MINUS_ONE
=
BigInteger
.
valueOf
(-
1
);
private
static
final
BigInt
CBI_ZERO
=
BigInt
.
fromLong
(
0
)
;
private
static
final
BigInt
CBI_ZERO
=
BigInt
.
ZERO
;
private
static
final
BigInt
CBI_ONE
=
BigInt
.
fromLong
(
1
)
;
private
static
final
BigInt
CBI_ONE
=
BigInt
.
ONE
;
private
static
final
BigInt
CBI_TWO
=
BigInt
.
fromLong
(
2
);
private
static
final
BigInt
CBI_TWO
=
BigInt
.
fromLong
(
2
);
private
static
final
BigInt
CBI_MINUS_ONE
=
BigInt
.
fromLong
(-
1
);
private
static
final
BigInt
CBI_MINUS_ONE
=
BigInt
.
fromLong
(-
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment