Skip to content

Commit

Permalink
Version bump after release
Browse files Browse the repository at this point in the history
  • Loading branch information
ionspin committed Apr 17, 2021
1 parent ec89c09 commit 939d631
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## Descriptive changelog
(All dates are DD.MM.YYYY)
##### 0.3.0 - SNAPSHOT
##### 0.3.1-SNAPSHOT


##### 0.3.0 - 17.4.2021
- Fixed losing scale when there is a carry in addition in BigDecimal.
- Fixed BigInteger `numberOfDecimalDigits` which would return 0 for 0 instead of 1.
- Fixed #168 - Fix invalid rounding results
Development roadmap for version 0.3.0 states 'API statbilization' so:
- **API CHANGE** Extensions functions used to create BigDecimal from primitive types have been split into 'toBigDecimal(exponentModifier...)'
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This is an implementation of pure kotlin arbitrary integer and floating-point ar

**The APIs might change until v1.0**

Version 0.3.0 will bring API changes to BigDecimal API see changelog for full list.
Version 0.3.0 brings API changes to BigDecimal API see changelog for full list.

Also, there is a plan to implement platform native versions.

Expand All @@ -28,7 +28,7 @@ and bug-fixing.

#### Gradle
```kotlin
implementation("com.ionspin.kotlin:bignum:0.2.8")
implementation("com.ionspin.kotlin:bignum:0.3.0")
```

#### Snapshot builds
Expand All @@ -38,7 +38,7 @@ repositories {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}
implementation("com.ionspin.kotlin:bignum:0.3.0-SNAPSHOT ")
implementation("com.ionspin.kotlin:bignum:0.3.1-SNAPSHOT")

```

Expand Down Expand Up @@ -364,10 +364,10 @@ Standard arithmetic operations that are present:
Operations are executed with existing significands and then rounded down afterwards. Decimal mode parameter controls the precision and rounding mode

### DecimalMode
This is a counterpart to the Java BigDecimal MathContext.
This is a counterpart to the Java BigDecimal MathContext and scale at the same time. Decimal mode API is under revision and will be improved during 0.3.0-0.4.0 library lifecycle

```kotlin
data class DecimalMode(val decimalPrecision : Long = 0, val roundingMode : RoundingMode = RoundingMode.NONE)
data class DecimalMode(val decimalPrecision : Long = 0, val roundingMode : RoundingMode = RoundingMode.NONE, val scale: Long = -1)
```

`decimalPrecision` defines how many digits should significand have
Expand Down
2 changes: 1 addition & 1 deletion bignum/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ repositories {
jcenter()
}
group = "com.ionspin.kotlin"
version = "0.3.0-SNAPSHOT"
version = "0.3.1-SNAPSHOT"

val ideaActive = System.getProperty("idea.active") == "true"

Expand Down

0 comments on commit 939d631

Please sign in to comment.