Chapter 2
C Language Reference
Macro Interface
AutoCode Reference
The macro interface files are:
sa_types.h
sa_fx.h
sa_fxp.h
sa_fxr.h
sa_fxm.h
sa_fxmp.h
sa_fx_temps.h
sa_fxprv.h
sa_fxscale.h
sa_fxlimit.h
sa_fxadd_byte.c
sa_fxadd_short.c
sa_fxadd_long.c
sa_fxsub_byte.c
sa_fxsub_short.c
sa_fxsub_long.c
sa_fxmul_long.c
sa_fxdiv_long.c
Updated to include fixed-point types.
Contains fixed-point conversion macros.
Contains fixed-point conversion macros with
overflow protection.
Contains fixed-point relational macros.
Contains fixed-point arithmetic macros.
Contains fixed-point arithmetic macros with
overflow protection. For 32-bit division and
multiplication, overflow sometimes cannot be
detected.
Contains the declaration information for
temporary variables used in fixed-point
computations.
Contains macros used only by the other macros.
Contains scale factor constants for different radix
values.
Contains maximum and minimum values that can
be represented in different fixed-point types.
Contains fixed-point addition functions for byte
data type.
Contains fixed-point addition functions for short
data type.
Contains fixed-point addition functions for long
data type.
Contains fixed-point subtraction functions for byte
data type.
Contains fixed-point subtraction functions for
short data type.
Contains fixed-point subtraction functions for
long data type.
Contains fixed-point multiplication functions for
long data type. Multiplication for byte and short
data types are completely implemented as macros.
Contains fixed-point division functions for long
data type.
2-32
ni.com
Need help?
Do you have a question about the AutoCode NI MATRIX and is the answer not in the manual?
Questions and answers