Table Of Contents

Numeric Data

Last Modified: June 30, 2016

You can program using a variety of numeric data types, each with different qualities and ranges. The differences among the numeric data types are the number of bits they use to store data and the data values they represent.

The following table describes the difference between each numeric data type.

Type Description Representation on the Diagram
Integers Represent whole numbers. Signed integers can be positive or negative. Use unsigned integers when you know the integer is always positive.
Floating-Point Numbers Represent fractional numbers. Double floating-point numbers are more precise than single floating-point numbers.
Complex Numbers Represent two values linked together in memory. One value represents the real part, and the other represents the imaginary part.
Fixed-Point Numbers Represent values with a fixed number of digits before and/or after the decimal. Use fixed-point numbers in programming for an FPGA target.
Complex Fixed-Point Numbers Represent two fixed-point values linked together in memory. One value represents the real part, and the other represents the imaginary part.

On the panel, you can use many types of controls and indicators to represent numeric values.


Recently Viewed Topics