From: Matthias Schabel (boost_at_[hidden])
Date: 2007-02-10 22:49:04
> If you think about it, you begin to realize that in *all* code
> arithmetic calculations (not just in physics or finance), you should
> wrap virtually every double with a type and define allowable
> using those types. This would catch a lot of errors at compile time.
My experience with implementing "simple" dimensional analysis has taught
me one thing very clearly - rendering problems down to the right
abstraction is very difficult, especially when constrained by
of something concrete like a programming language.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk