Go Integers: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:


Signed integers: <tt>int8</tt>, <tt>int16</tt>, <tt>int32</tt>, <tt>int64</tt>.
Signed integers: <tt>int8</tt>, <tt>int16</tt>, <tt>int32</tt>, <tt>int64</tt>.
Machine-dependent integers: <tt>uint</tt>, <tt>int</tt> and <tt>uintptr</tt>.

Revision as of 07:41, 22 March 2016

Internal

Overview

Unsigned integers: uint8 (or byte), uint16, uint32 (or rune), uint64.

Signed integers: int8, int16, int32, int64.

Machine-dependent integers: uint, int and uintptr.