Numeric Data Types

ViviFire provides several numeric data types for handling numbers of various forms. Integral types represent only whole numbers, while nonintegral types represent numbers with a fractional part.

For a side-by-side comparison of ViviFire data types, see Data Type Summary.

Integral numeric types

The signed integral data types are Int8 (8-bit), Int16 (16-bit), Int32 (32-bit), Int64 (64-bit), Int128 (128-bit), and Int (platform-dependent).

The unsigned integral data types are UInt8 (8-bit), UInt16 (16-bit), UInt32 (32-bit), UInt64 (64-bit), UInt128 (128-bit), and UInt (platform-dependent).

Performance

Describe

Large integers

Describe

Small integers

Describe

Unsigned integers

Describe

Nonintegral numeric types

The nonintegral numeric data types are Fixed64 (64-bit fixed-point), Fixed128 (128-bit fixed-point), Real32 (32-bit floating-point), Real64 (64-bit floating-point), Real128 (128-bit floating-point), and Real (platform-dependent).

Performance

Describe

Small magnitudes

Describe

Small fractional numbers

Describe

See also