|
From: Matthias S. <mat...@us...> - 2007-03-30 23:49:16
|
Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16467 Modified Files: measurement.hpp Log Message: CODATA constants now include measurement uncertainties and are updated to latest values as of 2007/03/30 Index: measurement.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/measurement.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- measurement.hpp 30 Mar 2007 18:56:46 -0000 1.1 +++ measurement.hpp 30 Mar 2007 23:49:14 -0000 1.2 @@ -307,8 +307,11 @@ os << val.value(); if (val.uncertainty() > Y(0)) - os << "(+/-" << val.uncertainty() << ")"; - + //os << "(+/-" << val.uncertainty() << ")"; + os << " (rel. unc. = " << val.uncertainty()/val.value() << ")"; + else + os << " (exact)"; + return os; } |