id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11389,Bug: Unit precision is restricted to double when using conversion constants,Roger Leigh ,Matthias Schabel,"From BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS in boost/units/conversions.hpp: {{{ BOOST_UNITS_DEFINE_CONVERSION_FACTOR(namespace_::name_ ## _base_unit, unit, double, factor); \ }}} Note the type of the conversion factor value is forced unconditionally to be double. It would be nice if the precision of this constant could be either made more flexible, or made as precise as possible with rounding to a lower-precision constant when lower-precision types are used. For example, using long double would allow higher-precision constants and conversions, but this isn't possible at present since even if a quantity is used, the conversions are still being restricted to double precision. Kind regards, Roger",Bugs,new,To Be Determined,units,Boost 1.58.0,Problem,,,