Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:01:46

0001 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 
0002 // unit/quantity manipulation and conversion
0003 //
0004 // Copyright (C) 2003-2008 Matthias Christian Schabel
0005 // Copyright (C) 2008 Steven Watanabe
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. (See
0008 // accompanying file LICENSE_1_0.txt or copy at
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 #ifndef BOOST_UNITS_ANGLE_GRADIANS_HPP
0012 #define BOOST_UNITS_ANGLE_GRADIANS_HPP
0013 
0014 #include <boost/config/no_tr1/cmath.hpp>
0015 
0016 #include <boost/units/conversion.hpp>
0017 #include <boost/units/quantity.hpp>
0018 #include <boost/units/static_constant.hpp>
0019 #include <boost/units/make_system.hpp>
0020 #include <boost/units/base_units/angle/gradian.hpp>
0021 
0022 namespace boost {
0023 
0024 namespace units {
0025 
0026 namespace gradian {
0027 
0028 typedef make_system<boost::units::angle::gradian_base_unit>::type system;
0029 
0030 typedef unit<dimensionless_type,system>         dimensionless;
0031 typedef unit<plane_angle_dimension,system>      plane_angle;          ///< angle gradian unit constant
0032 
0033 BOOST_UNITS_STATIC_CONSTANT(gradian,plane_angle);
0034 BOOST_UNITS_STATIC_CONSTANT(gradians,plane_angle);
0035 
0036 } // namespace gradian
0037 
0038 } // namespace units
0039 
0040 } // namespace boost
0041 
0042 #endif // BOOST_UNITS_ANGLE_GRADIANS_HPP