VF_minexp | VD_minexp | VE_minexp |
|
Function | Smallest 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/Delphi | uses 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/Delphi | uses 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;
|
|
Description | Considering 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). |
|
|
Return value | minimum exponent encountered. |
|
|