V_getFPAccuracy
FunctionTest the actual precision the coprocessor is switched to
Syntax C/C++#include <VecLib.h>
unsigned V_getFPAccuracy( void );
Pascal/Delphiuses VecLib;
function V_getFPAccuracy: UInt;
DescriptionThis function reads the FPU Control-Word. If the FPU is set to float / Single precision, 1 is returned. In case of double precision, the return value is 2, and extended precision yields 3. In order to change the coprocessor precision, use the (non-standardized) functions offered by the various compilers, or the OptiVec function V_setFPAccuracy.
Return value1, 2, or 3
See alsoV_setFPAccuracy

VectorLib Table of Contents  OptiVec home