comp.lang.ada
 help / color / mirror / Atom feed
* ANN: Units of Measurements for Ada v2.9
@ 2009-06-14 12:34 Dmitry A. Kazakov
  0 siblings, 0 replies; only message in thread
From: Dmitry A. Kazakov @ 2009-06-14 12:34 UTC (permalink / raw)


http://www.dmitry-kazakov.de/ada/units.htm

Provides support for handling dimensioned values in Ada. The key features:

1. The type Unit denotes the dimension of a physical entity. The type
Measure represents a dimensioned value;
2. Mixed unit arithmetic. Values in SI (Le Syst�me International d'Unit�s)
units can be mixed with irregular units (such as foot and yard) as long as
the result is defined;
3. Shifted unit support (a widely used instance of a shifted unit is degree
of Celsius);
4. The type Measure is generic, parameterized by a floating-point type. A
non-generic version based on the type Float is also provided;
5. String to Measure conversion supports as wide set of irregular units as
possible;
6. Currently the powers of the base unit components lie in the range -8..7.
This limitation has an implementation reason (absence of 64-bit modular
integers in some Ada compilers). For further discussion of this topic see;
7. GTK+ widgets for a comfortable visual measurement unit editing and
selection. The rest of the library can be used independently on this part
as well as on GTK+.

Changes to the previous version:

1. SI prefixes are used for dimensioned output;
2. GNAT project files reworked;
3. Minor bug fixes;
4. Installation instructions added.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-14 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-14 12:34 ANN: Units of Measurements for Ada v2.9 Dmitry A. Kazakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox