Go supports integer, floating-point, and complex number values in various versions depending on the memory space they consume—this saves memory and computing time. Integer data types can be either signed or unsigned, which is not the case for floating-point numbers.

List of numeric data types

The table that follows lists the numeric data types of Go.

Get hands-on with 1200+ tech skills courses.