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_)
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_minexp( int *h_RetVal, fVector d_X, ui size );
int cusdVF_minexp( int *d_RetVal, fVector d_X, ui size );
int VFcu_minexp( fVector h_X, ui size );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_minexp( var h_RetVal:Integer; d_X:fVector; size:UIntSize ): IntBool;
function cusdVF_minexp( d_RetVal:PInteger; d_X:fVector; size:UIntSize ): IntBool;
function VFcu_minexp( h_X:fVector; size:UIntSize ): Integer;
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