V_FtoDV_FtoEV_CFtoCDV_CFtoCE
V_DtoFV_DtoEV_CDtoCFV_CDtoCE
V_EtoFV_EtoDV_CEtoCFV_CEtoCD
FunctionData type interconversions.
Syntax C/C++#include <VDstd.h>
    (always include the <V..std.h> file of the destination data-type!)
void V_FtoD( dVector Y, fVector X, ui size );
    (similarly all other functions of this family)
C++ VecObj#include <OptiVec.h>
void vector<double>::FtoD( const vector<float>& X );
Pascal/Delphiuses VDstd;
    (always include the unit of the destination data-type!)
procedure V_FtoD( Y:dVector; X:fVector; size:UInt );
    (similarly all other functions of this family)
DescriptionEach element of X is converted from the data type specified for X to the data type specified for Y and stored in Y.
Error handlingOVERFLOW errors in the course of the "down-conversions" (e.g., V_EtoF); are silently handled: the extreme value possible for the destination data type is stored in Y with the correct sign. _matherr is not called.
Return valuenone
See alsoV_ItoF,   V_roundtoI,   V_roundtoLI

VectorLib Table of Contents  OptiVec home