com.io7m.jnfp

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

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.
  • ISC license.