File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
androidMain/kotlin/io/github/observeroftime/kbigint
androidUnitTest/kotlin/io/github/observeroftime/kbigint
jsMain/kotlin/io/github/observeroftime/kbigint
jsTest/kotlin/io/github/observeroftime/kbigint
jvmMain/kotlin/io/github/observeroftime/kbigint
jvmTest/kotlin/io/github/observeroftime/kbigint Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ actual class KBigInt private constructor(private var value: BigInteger) : Compar
178178 *
179179 * @since 0.5.0
180180 */
181- @ExperimentalStdlibApi
181+ @ExperimentalMultiplatform
182182 actual infix fun root (n : Int ): KBigInt {
183183 if (n <= 0 ) throw ArithmeticException (" Non-positive root" )
184184 if (sign == - 1 && (n and 1 ) == 0 )
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ actual class KBigIntTest {
9393 }
9494
9595 @Test
96- @OptIn(ExperimentalStdlibApi ::class )
96+ @OptIn(ExperimentalMultiplatform ::class )
9797 actual fun testRoot () {
9898 assertEquals(KBigInt (" 100" ), KBigInt (" 1000000" ) root 3 )
9999 assertEquals(KBigInt (" -10" ), KBigInt (" -100000" ) root 5 )
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ actual class KBigInt private constructor(@JsExternalArgument private var value:
218218 * @since 0.5.0
219219 * @throws [ArithmeticException] if the value is negative and `n` is positive, or `n <= 0`
220220 */
221- @ExperimentalStdlibApi
221+ @ExperimentalMultiplatform
222222 actual infix fun root (n : Int ): KBigInt {
223223 if (n <= 0 ) throw ArithmeticException (" Non-positive root" )
224224 if (sign == - 1 && (n and 1 ) == 0 )
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ actual class KBigIntTest {
9494 }
9595
9696 @Test
97- @OptIn(ExperimentalStdlibApi ::class )
97+ @OptIn(ExperimentalMultiplatform ::class )
9898 actual fun testRoot () {
9999 assertEquals(KBigInt (" 100" ), KBigInt (" 1000000" ) root 3 )
100100 assertEquals(KBigInt (" -10" ), KBigInt (" -100000" ) root 5 )
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ actual class KBigInt private constructor(private var value: BigInteger) : Compar
177177 * @since 0.5.0
178178 * @throws [ArithmeticException] if the value is negative and `n` is positive, or `n <= 0`
179179 */
180- @ExperimentalStdlibApi
180+ @ExperimentalMultiplatform
181181 @Throws(ArithmeticException ::class )
182182 actual infix fun root (n : Int ): KBigInt {
183183 if (n <= 0 ) throw ArithmeticException (" Non-positive root" )
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ actual class KBigIntTest {
9494 }
9595
9696 @Test
97- @OptIn(ExperimentalStdlibApi ::class )
97+ @OptIn(ExperimentalMultiplatform ::class )
9898 actual fun testRoot () {
9999 assertEquals(KBigInt (" 100" ), KBigInt (" 1000000" ) root 3 )
100100 assertEquals(KBigInt (" -10" ), KBigInt (" -100000" ) root 5 )
You can’t perform that action at this time.
0 commit comments