Data Types of Operator Results
ViviFire selects the data type of the result of an operationgiven the data types of the operands.
Data type ranges
The ranges of the applicable data types, from smallest to largest, are as follows:
Boolean
– Two possible valuesInt8
,UInt8
– 256 possible valuesInt16
,UInt16
– 65,536 possible valuesInt32
,UInt32
– 4,294,967,296 (4.2…E+9) possible valuesInt64
,UInt64
,Fixed64
– 18,446,744,073,709,551,615 (1.8…E+19) possible valuesInt128
,UInt128
,Fixed128
– 340,282,366,920,938,463,463,374,607,431,768,211,456 (3.4…E+39) possible valuesReal32
– Maximum range 3.4…E+38Real64
– Maximum range 1.7…E+308Real128
– Maximum range 1.1…E+4932
Fixed-point arithmetic
TODO
Floating-point arithmetic
TODO
Integer arithmetic
TODO
Relational and bitwise operations
TODO
Other operators
TODO
See also
TODO