| VF_intfrac | VD_intfrac | VE_intfrac |
|
| Function | Split up the elements of a vector into their integer and fractional parts. |
|
| Syntax C/C++ | #include <VFmath.h>
int VF_intfrac( fVector IntPart, fVector FracPart, fVector X, ui size ); |
| C++ VecObj | #include <OptiVec.h>
int vector<T>::intfrac( vector<T> FracPart, const vector<T>& X ); |
| Pascal/Delphi | uses VFmath;
function VF_intfrac( IntPart, FracPart, X:fVector; size:UInt ):IntBool; |
|
| Description | The integer parts of the elements of X are stored in IntPart, the fractional parts in FracPart. Notice that IntPart is a floating-point vector, even though it contains integer numbers (which might be larger than could be stored in the integer data types). |
|
|
| Return value | always FALSE (0) |
|
|