Skip to content

Function ipow

function ipow(const T &, int) simd

template <typename T>
constexpr inline T ipow(const T& x, int base) { … }

Integer power.

CHECK( ipow( 10, 3 ) == 1000 );
 CHECK( ipow( 0.5, 2 ) == 0.25 );

Fully qualified name: kfr::ipow(const T &, int)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.