| VF_scale2 | VD_scale2 | VE_scale2 |
|
| Function | Scaling by an integer power of 2. |
|
| Syntax C/C++ | #include <VFmath.h>
int VF_scale2( fVector Y, fVector X, ui size, int Expo ); |
| C++ VecObj | #include <OptiVec.h>
int vector<T>::scale2( const vector<T>& X, int Expo ); |
| Pascal/Delphi | uses VFmath;
function VF_scale2( Y, X:fVector; size:UInt; Expo:Integer ): IntBool; |
|
| Description | Yi = Xi * (2 Expo) |
|
| Error handling | OVERFLOW errors lead to a default result of ±HUGE_VAL. |
|
| Return value | FALSE (0), if no error occurred, otherwise TRUE (non-zero) |
|
|