Primitive Types (F#)
This topic lists the fundamental primitive types that are used in the F# language. It also provides the corresponding .NET types and the minimum and maximum values for each type.
The following table summarizes the properties of the primitive F# types.
Possible values are true and false.
Values from 0 to 255.
Values from -128 to 127.
Values from -32768 to 32767.
Values from 0 to 65535.
Values from -2,147,483,648 to 2,147,483,647.
Values from 0 to 4,294,967,295.
Values from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
Values from 0 to 18,446,744,073,709,551,615.
A native pointer as a signed integer.
A native pointer as an unsigned integer.
Unicode character values.
A floating point data type that has at least 28 significant digits.
Indicates the absence of an actual value. The type has only one formal value, which is denoted (). The unit value, (), is often used as a placeholder where a value is needed but no real value is available or makes sense.
Indicates no type or value.
A 32-bit floating point type.
A 64-bit floating point type.