Project icon

com.io7m.junsigned

Build status Maven Central Codecov

The junsigned package implements some missing Java functionality in regard to the conversion of unsigned integer values between types.

Contents

Features

  • Functions to convert unsigned int/long values to/from float/double values.
  • Unsigned variants of jranges functions and types.
  • High coverage test suite.
  • OSGi-ready.
  • JPMS-ready.
  • ISC license.

Releases

The most recently published version of the software is 4.0.0.

Source code and binaries are available from the repository.

Documentation

Documentation for the 4.0.0 release is available for reading online.

Documentation for current and older releases is archived in the repository.

User documentation

See the README.

Maven

The following is a complete list of the project's modules expressed as Maven dependencies:

<dependency>
  <groupId>com.io7m.junsigned</groupId>
  <artifactId>com.io7m.junsigned</artifactId>
  <version>4.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.junsigned</groupId>
  <artifactId>com.io7m.junsigned.core</artifactId>
  <version>4.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.junsigned</groupId>
  <artifactId>com.io7m.junsigned.ranges</artifactId>
  <version>4.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.junsigned</groupId>
  <artifactId>com.io7m.junsigned.tests</artifactId>
  <version>4.0.0</version>
</dependency>

Each release of the project is made available on Maven Central within ten minutes of the release announcement.

Changes

Subscribe to the releases atom feed.

2024-05-16 Release: com.io7m.junsigned 4.0.0
2024-04-19 Change: Update org.immutables:value:2.10.0 → 2.10.1.
2024-05-16 Change: Upgrade com.io7m.jranges:com.io7m.jranges.core 5.0.0 → 6.0.0.
2024-05-16 Change: (Backwards incompatible) Require JDK 21.
2019-06-23 Release: com.io7m.junsigned 3.0.0
2022-04-09 Change: (Backwards incompatible) Require JDK 17
2017-11-16 Release: com.io7m.junsigned 2.0.0
2017-04-06 Change: Rename project. Use the new primogenitor POM and 2017 project conventions.
2017-11-16 Change: (Backwards incompatible) All modules are now Java 9 modules. JDK 9 is now required.
2017-11-16 Change: (Backwards incompatible) Removed dependency on com.io7m.jnull.
2017-11-16 Change: (Backwards incompatible) Replace implementation with Immutables.org generated types
2017-02-23 Release: com.io7m.junsigned 1.0.0
2017-01-02 Change: Add unsigned modulo. (tickets: 2 )
2017-02-23 Change: Initial public API release. (tickets: 3 )
2016-08-05 Release: com.io7m.junsigned 0.2.1
2016-08-05 Change: Update plugins.
2016-08-05 Change: The packaged jar is now an OSGi bundle.
2015-11-03 Release: com.io7m.junsigned 0.2.0
2015-11-03 Change: Add unsigned ranges module.
2015-10-24 Release: com.io7m.junsigned 0.1.0
2015-10-24 Change: Initial release.

Sources

This project uses Git to manage source code.

Repository: https://www.github.com/io7m-com/junsigned

$ git clone https://www.github.com/io7m-com/junsigned

License

Copyright © 2024 Mark Raynsford <code@io7m.com> https://www.io7m.com

Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.

Bug Tracker

The project uses GitHub Issues to track issues.