Table 3-9. generic function summary, Table 3-9 – National Instruments AutoCode NI MATRIX User Manual

Page 86

Advertising
background image

Chapter 3

Ada Language Reference

AutoCode Reference

3-24

ni.com

Table 3-9. Generic Function Summary

Function Name

Purpose

FIXED_ADD

Addition of two fixed-point values.

FIXED_SUB

Subtraction of two fixed-point values.

FIXED_MUL

Multiplication of two fixed-point values.

FIXED_DIV

Division of two fixed-point values.

FIXED_IDENTITY

The identity property of a fixed-point
value.

SIGNEDNEGATION

Negation for a value of a signed
fixed-point type.

UNSIGNEDNEGATION

Negation for a value of a unsigned
fixed-point type.

SIGNEDABS

Absolute value for a value of a signed
fixed-point type.

UNSIGNEDABS

Absolute value for a value of a unsigned
fixed-point type.

LESSTHAN

Tests less-than relation between values
of two different fixed-point types.

GREATERTHAN

Tests greater-than relation between
values of two different fixed-point types.

LESSEQUAL

Tests less-than or equal to relation
between values of two different
fixed-point types.

GREATEREQUAL

Tests greater-than-or-equal-to relation
between values of two different
fixed-point types.

INTCAST

Fixed-point value to

RT_INTEGER

conversion.

INTCAST_TRUNC

Fixed-point value to

RT_INTEGER

conversion using truncation.

INTCAST_ROUND

Fixed-point value to

RT_INTEGER

conversion using rounding.

Advertising