Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:12

0001 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 
0002 // unit/quantity manipulation and conversion
0003 //
0004 // Copyright (C) 2014 Erik Erlandson
0005 //
0006 // Distributed under the Boost Software License, Version 1.0. (See
0007 // accompanying file LICENSE_1_0.txt or copy at
0008 // http://www.boost.org/LICENSE_1_0.txt)
0009 
0010 #ifndef BOOST_UNITS_BASE_UNITS_INFORMATION_HARTLEY_HPP_INCLUDED
0011 #define BOOST_UNITS_BASE_UNITS_INFORMATION_HARTLEY_HPP_INCLUDED
0012 
0013 #include <boost/units/conversion.hpp>
0014 #include <boost/units/base_units/information/bit.hpp>
0015 
0016 BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(information, hartley,
0017                                               "hartley", "Hart",
0018                                               3.321928094887363,
0019                                               boost::units::information::bit_base_unit, 
0020                                               -703);
0021 
0022 #if BOOST_UNITS_HAS_BOOST_TYPEOF
0023 
0024 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
0025 
0026 BOOST_TYPEOF_REGISTER_TYPE(boost::units::information::hartley_base_unit)
0027 
0028 #endif
0029 
0030 #endif // BOOST_UNITS_BASE_UNITS_INFORMATION_HARTLEY_HPP_INCLUDED