Since different platforms have different sizes for basic types such as short, int, and long, UE4 provides the following types which you should use as an alternative:
-
int8/uint8 : 8-bit signed/unsigned integer
-
int16/uint16 : 16-bit signed/unsigned integer
-
int32/uint32 : 32-bit signed/unsigned integer
-
int64/uint64 : 64-bit signed/unsigned integer
Floating point numbers are also supported with the standard float (32-bit)and double (64-bit) types.
Unreal Engine has a template, TNumericLimits, for finding the minimum and maximum ranges value types can hold. For more information follow this link .