AbsVec3_F16

Computes the absolute value of a vector of 16.16 values.

Synopsis

frac16 AbsVec3_F16( vec3f16 vec )

Description

This function computes the absolute value of a vector of 16.16 values.

Arguments

vec
The vector whose absolute value to compute.

Return Value

The function returns the absolute value (a 16.16 fraction).

Implementation

SWI implemented in operamath V20.

Associated Files

operamath.h

Caveats

This function does not detect overflow conditions and will return unpredictable results in case of overflow.

See Also

AbsVec4_F16()