National Instruments AutoCode NI MATRIX User Manual

Page 51

Advertising
background image

Chapter 2

C Language Reference

AutoCode Reference

2-34

ni.com

sa_fxsub_byte.c

Contains fixed-point subtraction functions for byte
data type.

sa_fxsub_short.c

Contains fixed-point subtraction functions for
short data type.

sa_fxsub_long.c

Contains fixed-point subtraction functions for
long data type.

sa_fxmul_byte.c

Contains fixed-point multiplication functions for
byte data type.

sa_fxmul_short.c

Contains fixed-point multiplication functions for
short data type.

sa_fxmul_long.c

Contains fixed-point multiplication functions for
long data type.

sa_fxdiv_byte.c

Contains fixed-point division functions for byte
data type.

sa_fxdiv_short.c

Contains fixed-point division functions for short
data type.

sa_fx_f.c

Contains fixed-point conversion functions with
overflow protection.

sa_fxp_f.c

Contains fixed-point conversion functions without
overflow protection.

sa_fxm_f.c

Contains fixed-point algebraic functions without
overflow protection.

sa_fxdiv_long.c

Contains fixed-point division functions for long
data type.

sa_fx_externs.c

Contains definitions for extern variables such as
mask buffers that are read only.

These stand-alone files have naming conventions based on the functionality
of the macros and whether or not the macros support overflow protection.
Refer to the

Overflow Protection

section. For example, the

sa_fxm.h

file

contains macros performing arithmetic functions that do not have overflow
protection, but file

sa_fxmp.h

contains macros with overflow protection

that perform similar functions. There only is one file (

sa_fxr.h

) for

relational macros as overflow protection is not a concern for macros
implementing relational operations.

Advertising