ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
[boost] Re: Physical Quantities revisited
by Andy Little other posts by this author
Oct 17 2003 2:48AM messages near this date
[boost] Physical Quantities revisited | [boost] Re: Re: Physical Quantities revisited
"Paul A. Bristow" <boost@[...].com>  wrote in message
news:AHEJIHEOOOBMJPAGPLIPKELKEGAA.boost@[...]..
>  I hate to be negative about your proposal (unlike many Boosters who seem
to take
>  great delight in shooting/shouting anything down) but having glanced at
the code
>  examples, I really don't think that this is the right way to go.  I still
think
>  that everything should be held internally in SI units - now that double
has
>  enough range to cover almost everyones needs.

"Almost everyone" includes ... well you presumably.
As usual embedded developers are ignored .
(In embedded its relatively common to scale during a calc to prevent
overflow. That is sometimes  more important than absolute accuracy)

  I'm worried about conversion
>  loss - your first example warns of the danger.

I guess I should tell users that if they dont use SI units they'd better go
elsewhere because if we convert we'll lose the 32nd decimal place in the
conversion ?

 And I am worried about the
>  expansion to other all the types of units - many are unecessary (feet
even!) but
>  widely used.

In the U.K.... but not Cumbria I guess
every road sign is in ...er. miles per hour. .. So you dont do H.M contracts
for political reaasons :-)
head for Europe and you have k.m.h... Ok no problem avoid European contracts
in case you encounter these unnecessary units.
Many Americans use imperial units... just stupid I guess :-(
In the butcher 90% of people still ask for a pound of beef. no till/accounts
contracts.
Every wood yard worker must be able convert feet to metres....

Unit conversion is a real problem now!

>  | http://www.servocomm.freeserve.co.uk/Cpp/physical_quantity/index.html

regards
Andy Little
andy@[...].uk



_______________________________________________
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved