Specific numbers

These numeric types specify the bit length and whether it has a sign bit to determine positive or negative values. The bit length will determine the maximum range. Signed integers have the range reduced by one bit because the last bit is reserved for the sign.

Get Security with Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.