Home
last modified time | relevance | path

Searched refs:quantity_type (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/boost/units/
Dlimits.hpp30 typedef ::boost::units::quantity<Unit, T> quantity_type; typedef in std::numeric_limits
32 …static BOOST_CONSTEXPR quantity_type (min)() { return(quantity_type::from_value((std::numeric_limi… in quantity_type() function in std::numeric_limits
33 …static BOOST_CONSTEXPR quantity_type (max)() { return(quantity_type::from_value((std::numeric_limi… in quantity_type() function in std::numeric_limits
35 …static BOOST_CONSTEXPR quantity_type (lowest)() { return(quantity_type::from_value((std::numeric_l… in quantity_type() function in std::numeric_limits
46 …static BOOST_CONSTEXPR quantity_type epsilon() { return(quantity_type::from_value(std::numeric_li… in epsilon()
47 …static BOOST_CONSTEXPR quantity_type round_error() { return(quantity_type::from_value(std::numeri… in round_error()
56 …static BOOST_CONSTEXPR quantity_type infinity() { return(quantity_type::from_value(std::numeric_l… in infinity()
57 …static BOOST_CONSTEXPR quantity_type quiet_NaN() { return(quantity_type::from_value(std::numeric_… in quiet_NaN()
58 …static BOOST_CONSTEXPR quantity_type signaling_NaN() { return(quantity_type::from_value(std::nume… in signaling_NaN()
59 …static BOOST_CONSTEXPR quantity_type denorm_min() { return(quantity_type::from_value(std::numeric… in denorm_min()
Dcmath.hpp162 typedef quantity<Unit,Y> quantity_type; in BOOST_PREVENT_MACRO_SUBSTITUTION() typedef
164 return quantity_type::from_value(abs BOOST_PREVENT_MACRO_SUBSTITUTION (q.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION()
175 typedef quantity<Unit,Y> quantity_type; in BOOST_PREVENT_MACRO_SUBSTITUTION() typedef
177 return quantity_type::from_value(ceil BOOST_PREVENT_MACRO_SUBSTITUTION (q.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION()
189 typedef quantity<Unit,Y> quantity_type; in BOOST_PREVENT_MACRO_SUBSTITUTION() typedef
191 …return quantity_type::from_value(copysign BOOST_PREVENT_MACRO_SUBSTITUTION (q1.value(),q2.value())… in BOOST_PREVENT_MACRO_SUBSTITUTION()
202 typedef quantity<Unit,Y> quantity_type; in BOOST_PREVENT_MACRO_SUBSTITUTION() typedef
204 return quantity_type::from_value(fabs BOOST_PREVENT_MACRO_SUBSTITUTION (q.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION()
215 typedef quantity<Unit,Y> quantity_type; in BOOST_PREVENT_MACRO_SUBSTITUTION() typedef
217 return quantity_type::from_value(floor BOOST_PREVENT_MACRO_SUBSTITUTION (q.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION()
[all …]
/third_party/boost/libs/units/example/
Dquaternion.cpp121 typedef quantity<unit_type,value_type> quantity_type; typedef
122 typedef boost::math::quaternion<quantity_type> type;
133 return type(quantity_type::from_value(tmp.R_component_1()), in value()
134 quantity_type::from_value(tmp.R_component_2()), in value()
135 quantity_type::from_value(tmp.R_component_3()), in value()
136 quantity_type::from_value(tmp.R_component_4())); in value()
158 typedef quantity<unit_type,value_type> quantity_type; typedef
159 typedef boost::math::quaternion<quantity_type> type;
170 return type(quantity_type::from_value(tmp.R_component_1()), in value()
171 quantity_type::from_value(tmp.R_component_2()), in value()
[all …]
Dcomplex.cpp334 typedef quantity<unit_type,value_type> quantity_type; typedef
335 typedef complex<quantity_type> type;
343 return type(quantity_type::from_value(tmp.real()), in value()
344 quantity_type::from_value(tmp.imag())); in value()
356 typedef quantity<unit_type,value_type> quantity_type; typedef
357 typedef complex<quantity_type> type;
365 return type(quantity_type::from_value(tmp.real()), in value()
366 quantity_type::from_value(tmp.imag())); in value()