Go also provides a complex number for advanced mathematical applications, and a few aliases for conveniences:
- complex64: Complex number with float32 real and imaginary parts
- complex128: Complex number with float64 real and imaginary parts
- byte: Alias for uint8
- rune: Alias for int32
You can define numbers in the decimal, octal, or hexadecimal format. Decimal or base-ten numbers need no prefix. Octal or base-eight numbers should be prefixed with a zero. Hexadecimal or base-sixteen numbers should be prefixed with a zero and an x.