FunctionSmallest exponent within one vector
Syntax C/C++#include <VFstd.h>
int VF_minexp( fVector X, ui size );

    (similarly VD_,   VE_)
C++ VecObj#include <OptiVec.h>
int vector<T>::minexp();
Pascal/Delphiuses VFstd;
function VF_minexp( X:fVector; size:UIntSize ): Integer;

    (similarly VD_,   VE_)
DescriptionConsidering that each number can be represented as a product, mantissa * 2exponent, where 1.0 <= mantissa < 2.0, the smallest or most negative exponent occurring in a vector is returned. If the absolutely smallest number was zero, the exponent is returned as -231 (32-bit models) or -215 (16-bit models).
Error handlingnone
Return valueminimum exponent encountered.
See alsoVF_maxexp,   VF_min,   VF_absmin,   VF_runmin,   VF_absminind

VectorLib Table of Contents  OptiVec home