comp.lang.ada
 help / color / mirror / Atom feed
* SI unit checking
@ 2010-07-05  8:56 AdaMagica
  2010-08-16 20:00 ` Yannick Duchêne (Hibou57)
  0 siblings, 1 reply; 2+ messages in thread
From: AdaMagica @ 2010-07-05  8:56 UTC (permalink / raw)


Dimension checking in Ada made simple. All 7 SI units are included;
Centigrade and other temperature skales.

Runtime checks can easily be switched off by changing only a few lines
of code, i.e. only the numerics remains.
IO with unit information is included, e.g.  10.0*km/h. Easy definition
of arbitrary other units.
3D vector spaces. Rotation via matrices or quaternions.

Examples of use and a lot of unit tests are provided.

http://www.christ-usch-grein.homepage.t-online.de/Ada/SI.html

This version fixes a bug in the definition of photometry unit lm=cd*sr.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-16 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-05  8:56 SI unit checking AdaMagica
2010-08-16 20:00 ` Yannick Duchêne (Hibou57)

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