Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

io7m-com/junsigned

Repository files navigation

junsigned

Maven Central Maven Central (snapshot) Codecov Java Version

com.io7m.junsigned

JVM Platform Status
OpenJDK (Temurin) Current Linux Build (OpenJDK (Temurin) Current, Linux)
OpenJDK (Temurin) LTS Linux Build (OpenJDK (Temurin) LTS, Linux)
OpenJDK (Temurin) Current Windows Build (OpenJDK (Temurin) Current, Windows)
OpenJDK (Temurin) LTS Windows Build (OpenJDK (Temurin) LTS, Windows)

Repository Relocation

Development of this project has moved to an open-source but not open-contribution model.

Source code and commits will remain publicly available perpetually, but issues and/or pull requests will be rejected and/or ignored. Additionally, this project will now only be available via a read-only mirror at:

https://codeberg.org/io7m-com/junsigned

junsigned

Functions to convert unsigned int/long values to/from float/double values.

Features

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

Usage

Use the UnsignedDouble class to convert from various integer types to double values.

Use the UnsignedFloat class to convert from various integer types to float values.

Use the UnsignedLong class to perform unsigned modulus operations on long values.

Use the UnsignedInt class to perform unsigned modulus operations on int values.

About

Java unsigned integer conversions

Topics

Resources

License

Stars

Watchers

Forks

Contributors