Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template root

boost::units::root — take the static_rational root of a value

Synopsis

// In header: <boost/units/pow.hpp>


template<typename Rat, typename Y> 
  root_typeof_helper< Y, Rat >::type root(const Y & x);

Description

take the integer root of a value


PrevUpHomeNext