RE: [boost] Re: Physical Quantities revisited
by Paul A. Bristow other posts by this author
Oct 22 2003 6:51PM messages near this date
[boost] lambda questions/suggestions
|
[boost] Re: Physical Quantities revisited
| -----Original Message-----
| From: boost-bounces@[...].org
| [mailto:boost-bounces@[...].org]On Behalf Of Andy Little
| Sent: Tuesday, October 21, 2003 2:22 PM
| To: boost@[...].org
| Subject: [boost] Re: Physical Quantities revisited
|
| "Paul A. Bristow" <boost@[...].com> wrote in message
| > I have only expressed a view on one fundamental premise - that all values
| are
| > held internally as SI units - but I may be wrong in this view.
|
| Within SI units there are various units within 1 dimension.
| ie length has units from nanometres to kilometres (and beyond).
I (and others) also expressed the prejudice that all are kept as their base
unit, now that 'everyone' is using at least 64-bit doubles in their calculations
(which is enough to keep everyone except the astronomers in the exponent range.
And the significand precision available (15-ish decimal digits) is ample for all
physical measurements.
Obviously 'everyone' excludes those like toaster designers who must struggle
with much smaller (if any) floating point, ranges and precision. For them, your
solution is probably best, but for a more general purpose library like Boost, it
may not be preferred.
Hopefully we can find a solution which caters for both.
Paul
Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK
+44 1539 561830 Mobile +44 7714 33 02 04
mailto:pbristow@[...].com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Andy Little
Andy Little
Andy Little
Andy Little
Andy Little
Andy Little
Andy Little
Jan Langer
Andy Little
Deane Yang
Paul A. Bristow
Phil Richards
Rene Jager
Deane Yang
Phil Richards
Andy Little
Deane Yang
Brock Peabody
Paul A. Bristow
Andy Little
Andy Little
Matthias Troyer
Paul A. Bristow
Ross MacGregor
Deane Yang
Paul A. Bristow
Deane Yang
Paul A. Bristow
Paul A. Bristow
David Abrahams
Jonathan de Halleux
Philip Miller
Deane Yang
Paul A. Bristow
Paul A. Bristow
David Abrahams
|