VF_mantexpVD_mantexpVE_mantexp
FunctionSplit up the elements of a vector into their mantissa and exponent parts
Syntax C/C++#include <VFmath.h>
int VF_mantexp( fVector MantPart, iVector ExpPart, fVector X, ui size );
C++ VecObj#include <OptiVec.h>
int vector<T>::mantexp( vector<int> ExpPart, const vector<T>& X );
Pascal/Delphiuses VFmath;
function VF_mantexp( MantPart:fVector; ExpPart:iVector; X:fVector; size:UIntSize ): IntBool;
CUDA function C/C++#include <cudaVFmath.h>
int cudaVF_mantexp( fVector d_MantPart, iVector d_ExpPart, fVector d_X, ui size );
int VFcu_mantexp( fVector h_MantPart, iVector h_ExpPart, fVector h_X, ui size );
CUDA function Pascal/Delphiuses VFmath;
function cudaVF_mantexp( d_MantPart:fVector; d_ExpPart:iVector; d_X:fVector; size:UIntSize ): IntBool;
function VFcu_mantexp( h_MantPart:fVector; h_ExpPart:iVector; h_X:fVector; size:UIntSize ): IntBool;
DescriptionThe elements of X are split up into their mantissa, stored in MantPart, and exponent, stored as ints in ExpPart.
Error handlingnone
Return valuealways FALSE (0)
See alsoVF_scale2,   VF_intfrac,   frexp (only C/C++),  ldexp (only C/C++)

VectorLib Table of Contents  OptiVec home