FX_Mul

C Specification

#include <nitro/fx/fx.h>

fx32 FX_Mul(fx32 v1, fx32 v2);

Arguments

v1   fx32 format fixed-point decimal
v2   fx32 format fixed-point decimal

Return Values

Result of multiplying v1 and v2.

Description

This function multiplies two fx32 types. It returns the result as an fx32 type. The calculations are performed internally using fx64 types. Values that are less than 1/4096 are rounded off. The section that contains this function was developed as a function to be called for THUMB code or as an inline function for ARM code.

See Also

FX_Div, FX_Sqrt, FX_Inv

Revision History

01/19/2004 Initial version.