Skip to content

Commit

Permalink
Version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peteroupc committed Jun 16, 2014
1 parent e63e73c commit bdfdf3a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
9 changes: 7 additions & 2 deletions Portable.CBOR.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@
<projectUrl>https://github.com/peteroupc/CBOR</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
A C# implementation of Concise Binary Object Representation, a general-purpose binary data format defined in RFC 7049. According to that RFC, CBOR's data model "is an extended version of the JSON data model", supporting many more types of data than JSON. This implementation was written by Peter O. and is released to the Public Domain under the CC0 Declaration.
A C# implementation of Concise Binary Object Representation (CBOR), a general-purpose binary data format defined in RFC 7049. According to that RFC, CBOR's data model "is an extended version of the JSON data model", supporting many more types of data than JSON. This implementation was written by Peter O. and is released to the Public Domain under the CC0 Declaration.
This implementation also doubles as a reader and writer of JSON, and can convert data from JSON to CBOR and back.
Finally, this implementation supports arbitrary-precision binary and decimal floating-point numbers and rational numbers with arbitrary-precision components, and supports arithmetic with these numbers.
</description>
<summary>A C# implementation of Concise Binary Object Representation (CBOR), a data serialization format. This implementation can also convert between CBOR and JSON.</summary>
<releaseNotes>
In version 1.0, the "adjust exponent" and "is precision in bits" flags were added to the arbitrary-precision arithmetic contexts, and a new Set method that is similar to Add but can replace a key's value in a CBOR map. Some bugs were also fixed.
In version 1.1 there were many additions and bug fixes in arbitrary-precision
arithmetic, including:
- Added unchecked versions of intValue and longValue in BigInteger
- Added more overloads for FromString in ExtendedDecimal and ExtendedFloat
- Fixed bug where Pow doesn't compute the exact value in unlimited precision contexts
- Much added documentation
See the project page for release notes on previous versions: https://github.com/peteroupc/CBOR
</releaseNotes>
<copyright>Written by Peter O. in 2013-2014. Any copyright is released to the Public Domain.</copyright>
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ project, add the following to the `dependencies` section in your `pom.xml` file:
<dependency>
<groupId>com.upokecenter</groupId>
<artifactId>cbor</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
```

Expand Down Expand Up @@ -174,6 +174,14 @@ The following are some clarifications to RFC 7049.

Release Notes
-----------
In version 1.1 there were many additions and bug fixes in arbitrary-precision
arithmetic, including:

- Added unchecked versions of intValue and longValue in BigInteger
- Added more overloads for FromString in ExtendedDecimal and ExtendedFloat
- Fixed bug where Pow doesn't compute the exact value in unlimited precision contexts
- Much added documentation

In version 1.0, the "adjust exponent" and "is precision in bits" flags were added to
the arbitrary-precision arithmetic contexts, and a new Set method that is similar
to Add but can replace a key's value in a CBOR map. Some bugs were also fixed.
Expand Down
2 changes: 1 addition & 1 deletion docs/PeterO.ExtendedDecimal.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The mantissa and exponent format preserves trailing zeros in the number's value.

This class also supports values for negative zero, not-a-number (NaN) values, and infinity. Negative zerois generally used when a negative number is rounded to 0; it has the same mathematical value as positive zero. Infinityis generally used when a non-zero number is divided by zero, or when a very high number can't be represented in a given exponent range. Not-a-numberis generally used to signal errors.

This class implements the General Decimal Arithmetic Specificationversion 1.70.
This class implements the General Decimal Arithmetic Specification version 1.70: `http://speleotrove.com/decimal/decarith.html`

Passing a signaling NaN to any arithmetic operation shown here will signal the flag FlagInvalid and return a quiet NaN, even if another operand to that operation is a quiet NaN, unless noted otherwise.

Expand Down
8 changes: 6 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
<groupId>com.upokecenter</groupId>
<artifactId>cbor</artifactId>
<packaging>jar</packaging>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0</version>
<name>CBOR</name>
<description>
A Java implementation of Concise Binary Object Representation (CBOR), a general-purpose binary data format defined in RFC 7049. According to that RFC, CBOR's data model "is an extended version of the JSON data model", supporting many more types of data than JSON. This implementation was written by Peter O. and is released to the Public Domain under the CC0 Declaration.
This implementation also doubles as a reader and writer of JSON, and can convert data from JSON to CBOR and back.
Finally, this implementation supports arbitrary-precision binary and decimal floating-point numbers and rational numbers with arbitrary-precision components, and supports arithmetic with these numbers.
</description>
<profiles>
<profile>
<id>release</id>
Expand Down Expand Up @@ -72,7 +77,6 @@
</developer>
</developers>
<url>https://github.com/peteroupc/CBOR</url>
<description>A Java implementation of Concise Binary Object Representation, a general-purpose binary data format defined in RFC 7049. According to that RFC, CBOR's data model "is an extended version of the JSON data model", supporting many more types of data than JSON. This implementation was written by Peter O. and is released to the Public Domain under the CC0 Declaration. This implementation also doubles as a reader and writer of JSON, and can convert data from JSON to CBOR and back. Finally, this implementation supports arbitrary-precision binary and decimal floating-point numbers and rational numbers with arbitrary-precision components.</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Expand Down

0 comments on commit bdfdf3a

Please sign in to comment.