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 an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext

Function template pow

boost::units::pow — raise a value to a static_rational power

Synopsis

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


template<typename Rat, typename Y> 
  power_typeof_helper< Y, Rat >::type pow(const Y & x);

Description

raise a value to an integer power


PrevUpHomeNext