#include <nitro/fx/fx.h>
fx32 FX_Mul(fx32 v1, fx32 v2);
v1 |
fx32 format fixed-point decimal |
v2 |
fx32 format fixed-point decimal |
Result of multiplying v1 and v2.
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.
SDK_WARNING() displays a warning message when the number of digits overflows during calculations.
2006/04/28 Added digit overflow check
2004/01/19 Initial version.
CONFIDENTIAL