Skip to content

Commit

Permalink
prepare release 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eobermuhlner committed Jun 14, 2018
1 parent 9d02f84 commit 07791f1
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 32 deletions.
2 changes: 1 addition & 1 deletion ch.obermuhlner.math.big.example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ repositories {
}

dependencies {
//compile group: 'ch.obermuhlner', name: 'big-math', version: '2.0.0'
//compile group: 'ch.obermuhlner', name: 'big-math', version: '2.0.1'
compile project(':ch.obermuhlner.math.big')
}
2 changes: 1 addition & 1 deletion ch.obermuhlner.math.big.viewer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repositories {
}

dependencies {
//compile group: 'ch.obermuhlner', name: 'big-math', version: '1.1.0'
//compile group: 'ch.obermuhlner', name: 'big-math', version: '2.0.1'
compile project(':ch.obermuhlner.math.big')

testCompile 'junit:junit:4.12'
Expand Down
2 changes: 1 addition & 1 deletion ch.obermuhlner.math.big/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apply plugin: 'signing'
apply plugin: 'jacoco'

group = 'ch.obermuhlner'
version = '2.0.0'
version = '2.0.1'
archivesBaseName = 'big-math'

ext {
Expand Down
34 changes: 5 additions & 29 deletions docs/releases/next_release_note.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,18 @@
# API changes

## Module name for Java 9

Not really an API change but rather an API specification.

The deployed big-math Jar file contains now a module name for the Java 9 JigSaw module system.

This allows it to be used as automatic module with a well defined module name instead
of deriving the name magically from the Jar file name.

The module name follows the reverse domain convention and is: `ch.obermuhlner.math.big`


## OSGi support

The big-math Jar file is now OSGi compatible.

The `MANIFEST.MF` contains all the necessary headers and exports the public packages
- `ch.obermuhlner.math.big`
- `ch.obermuhlner.math.big.stream`
No API changes.


# Bugfixes

## Fixed `BigDecimalMath.log(BigDecimal, MathContext)` argument `x` very close to 0

`BigDecimalMath.log(BigDecimal, MathContext)` failed with arguments very close to 0 due to
`BigDecimal.doubleValue()` rounding down to 0.


## Fixed `BigDecimalMath.atan2(BigDecimal, BigDecimal, MathContext)` with positive `x`

A stupid typo in a division would give results with wrong precision results with positive `x` arguments.
No Bugfix changes.


# Enhancements

No enhancements.
## Added `Example.method(y)`

Added `Example.method(y)`


# Examples
Expand Down
48 changes: 48 additions & 0 deletions docs/releases/v2.0.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Release 2.0.1

# API changes

## Module name for Java 9

Not really an API change but rather an API specification.

The deployed big-math Jar file contains now a module name for the Java 9 JigSaw module system.

This allows it to be used as automatic module with a well defined module name instead
of deriving the name magically from the Jar file name.

The module name follows the reverse domain convention and is: `ch.obermuhlner.math.big`


## OSGi support

The big-math Jar file is now OSGi compatible.

The `MANIFEST.MF` contains all the necessary headers and exports the public packages
- `ch.obermuhlner.math.big`
- `ch.obermuhlner.math.big.stream`


# Bugfixes

## Fixed `BigDecimalMath.log(BigDecimal, MathContext)` argument `x` very close to 0

`BigDecimalMath.log(BigDecimal, MathContext)` failed with arguments very close to 0 due to
`BigDecimal.doubleValue()` rounding down to 0.


## Fixed `BigDecimalMath.atan2(BigDecimal, BigDecimal, MathContext)` with positive `x`

A stupid typo in a division would give results with wrong precision results with positive `x` arguments.


# Enhancements

No enhancements.


# Examples

Note: The example code is available on github, but not part of the big-math library.

No changes in the examples.

0 comments on commit 07791f1

Please sign in to comment.