setquad
Functionconverts a long double into a quad: C/C++ only!
Syntax C/C++#include <VecLib.h>
quad setquad( long double x );
DescriptionThis function, along with its counterparts, quadtod and _quadtold, provides the necessary interface for the use of the data type quad with Borland C++ (where OptiVec still maintains compatibility with earlier versions that had no complete built-in support for 64-bit integers).
If, e.g., quad parameters are required by a function, they have to be passed either as existing variables of this data type, or else as in the following example:
VQI_addC( QI2, QI1,size, setquad( 53563369.L ));
Error handlingnone
Return valuethe value of x is returned as a quad.

 

E N D

Copyright for OptiVec software and documentation
© 1996-2023 OptiCode - Dr. Martin Sander Software Dev.
All rights reserved!

VectorLib Table of Contents  OptiVec home