This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
69 additions
and
18 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
kbignum/src/commonMain/kotlin/BigExt.kt → ...nMain/kotlin/com/soywiz/kbignum/BigExt.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.soywiz | ||
package com.soywiz.kbignum | ||
|
||
// Big Integer | ||
val Long.bi get() = BigInt(this) | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.soywiz.kbignum | ||
|
||
import com.soywiz.kbignum.internal.KBIGNUM_VERSION | ||
|
||
object KBigNum { | ||
val VERSION = KBIGNUM_VERSION | ||
} |
1 change: 1 addition & 0 deletions
1
kbignum/src/commonTest/kotlin/BigIntTest.kt → ...t/kotlin/com/soywiz/kbignum/BigIntTest.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package com.soywiz | ||
|
||
import com.soywiz.kbignum.bi | ||
import kotlin.test.* | ||
|
||
class BigIntTest { | ||
|
3 changes: 3 additions & 0 deletions
3
kbignum/src/commonTest/kotlin/BigNumTest.kt → ...t/kotlin/com/soywiz/kbignum/BigNumTest.kt
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
3 changes: 2 additions & 1 deletion
3
...vmTest/kotlin/BigIntCompareWithJVMTest.kt → ...oywiz/kbignum/BigIntCompareWithJVMTest.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import com.soywiz.* | ||
package com.soywiz.kbignum | ||
|
||
import java.math.* | ||
import kotlin.test.* | ||
|
||
|
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