Re: [Boost-bugs] [Boost C++ Libraries] #4418: units::electron_charge units::current incorrect

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4418: units::electron_charge units::current incorrect
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-10 20:25:39

#4418: units::electron_charge units::current incorrect
  Reporter: | Owner: matthiasschabel
      Type: Bugs | Status: new
 Milestone: Boost 1.44.0 | Component: units
   Version: Boost 1.40.0 | Severity: Problem
Resolution: | Keywords: units charge current

Comment (by

 I have a tar file to send you but it exceeds the 256k limits. I spent the
 day changing units to work the way that I think that it should work. The
 tgz file as the modified units.tgz plus the test project. Please send me
 an email based my "reported by name" or download from

 I have to admit that this is confusing. And multiple places have
 conflicting information. However I think that having base units as
 defined at (which has ampere as
 a base unit) and doing dimensional analysis as defined at (which has charge as the
 base dimension)are two different but related things. And what boost:units
 tries to do is connect them in a way that a computer can understand.

 Your reference above is to base units not base dimensions.

 The problem is the way that dimensions were defined. Current and charge
 are not the same thing. I was trying to work a charge problem with no
 reference to time. So I couldn't create Coulomb's Constant with the right
 dimensions. With the modified boost::units it works perfectly.


Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC