FunctionInteger powers of 2
Syntax C/C++#include <VFmath.h>
int VF_ipow2( fVector Y, iVector X, ui size );
C++ VecObj#include <OptiVec.h>
int vector<T>::ipow2( const vector<T>& X );
Pascal/Delphiuses VFmath; function VF_ipow2( Y:fVector; X:iVector; size:UIntSize ):
DescriptionYi = 2Xi
Error handlingOVERFLOW errors lead to a default result of HUGE_VAL.
Return valueFALSE (0), if no error occurred, otherwise TRUE (non-zero)
See alsoVF_pow2,   VF_scale2,   VF_log2,   VF_pow,   VF_exp,   pow

VectorLib Table of Contents  OptiVec home