Project icon

com.io7m.jnfp

Build status Maven Central Codacy Codecov

The jnfp package provides a simple implementation of normalized fixed-point numbers.

Contents

Features

  • Conversion between unsigned normalized fixed-point numbers and floating point numbers.
  • Conversion between signed normalized fixed-point numbers and floating point numbers.
  • Machine-generated specializations of methods to reduce conversions down to a single multiply or divide in most cases.
  • 100% unit test coverage.
  • OSGi-ready.
  • JPMS-ready
  • ISC license.

Releases

The current release is 1.0.0.

Source code and binaries are available from the repository.

Documentation

Documentation for the 1.0.0 release is available for reading online.

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

User documentation

Maven

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

<dependency>
  <groupId>com.io7m.jnfp</groupId>
  <artifactId>com.io7m.jnfp</artifactId>
  <version>1.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jnfp</groupId>
  <artifactId>com.io7m.jnfp.checkstyle</artifactId>
  <version>1.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jnfp</groupId>
  <artifactId>com.io7m.jnfp.core</artifactId>
  <version>1.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jnfp</groupId>
  <artifactId>com.io7m.jnfp.documentation</artifactId>
  <version>1.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.

2017-11-16 Release: com.io7m.jnfp 1.0.0
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-04-07 Release: com.io7m.jnfp 0.1.2
2017-04-07 Change: (Backwards incompatible) Rename project. Use primogenitor, renaming all modules to the new OSGi conventions.
2016-08-14 Release: com.io7m.jnfp 0.1.1
2016-08-14 Change: Update Maven plugins.
2016-08-14 Change: The produced jar is now an OSGi bundle.
2015-10-24 Release: com.io7m.jnfp 0.1.0
2015-10-24 Change: Initial release.

Sources

This project uses Git to manage source code.

Repository: https://github.com/io7m/jnfp

$ git clone https://github.com/io7m/jnfp

License

Copyright ⓒ 2017 Mark Raynsford <code@io7m.com> http://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.