Chapter 2 C Language Reference
© National Instruments Corporation 2-33 AutoCode Reference
sa_fx_externs.c Contains definitions for extern variables such as
mask buffers that are read only.
Function Interface
The function interface files are:
sa_types.h Updated to include fixed-point types.
sa_fxp.h Contains fixed-point conversion macros with
overflow protection.
sa_fxr.h Contains fixed-point relational macros.
sa_fxm.h Contains fixed-point arithmetic macros.
sa_fxmp.h Contains fixed-point arithmetic macros with
overflow protection. For 32-bit division and
multiplication, overflow sometimes cannot be
detected.
sa_fx_temps.h Contains the declaration information for
temporary variables used in fixed-point
computations.
sa_fxprv.h Contains macros used only by the other macros.
sa_fxscale.h Contains scale factor constants for different radix
values.
sa_fxlimit.h Contains maximum and minimum values that can
be represented in different fixed-point types.
sa_fx_f.h Contains prototypes for fixed-point conversion
functions without overflow protection.
sa_fxp_f.h Contains prototypes for fixed-point conversion
functions with overflow protection.
sa_fxm_f.h Contains prototypes for fixed-point algebraic
functions without overflow protection.
sa_fxmp_f.h Contains prototypes for fixed-point algebraic
functions with overflow protection
sa_fxadd_byte.c Contains fixed-point addition functions for byte
data type.
sa_fxadd_short.c Contains fixed-point addition functions for short
data type.
sa_fxadd_long.c Contains fixed-point addition functions for long
data type.