Projects / Units of measurement for Ada

Units of measurement for Ada

The library provides an implementation of dimensioned values for Ada. Unit checks are made at run-time, if not optimized out by the compiler. SI and irregular measurement units are supported. Shifted units like degrees Celsius are supported too. Conversions from and back to strings are provided for all various irregular units. An extensive set of GTK widgets for dealing with dimensioned values is included, though use of GTK is not mandatory for the rest of the library.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  09 Jun 2014 15:21

    Release Notes: The widgets and renderers provided by the library are adapted for the GTK 3.x. GTK 2.x is no longer supported.The Split procedure was added to the Units package. Only Ada 2005 and Ada 2012 are supported when widgets and renderers are used, because GtkAda bindings require at least Ada 2005. The non-GUI parts of the software remain Ada 95 conformant. A bug in text conversion that led to false output of values with units like square meter were fixed. This version was first compiled with GNAT 4.9.

    •  27 Apr 2013 13:19

      Release Notes: This release corrects the value of the constant hp (Horsepower) in the package Measures_Irregular. Consequently, the unit converter and mapper utilities are fixed.

      •  27 Jan 2012 17:29

        Release Notes: The procedure Put in Measures_UTF8_Edit has the additional parameters Field, Justify, and Fill. Fedora and Debian packages are provided for both 32- and 64-bit x86 architectures.

        •  03 Jul 2010 17:02

          Release Notes: Fedora and Debian packages were added.

          •  12 Apr 2010 11:46

            Release Notes: Output of exact zero values uses power 1 with any small value. For example, 0W is output as 0W rather than 0yW.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.