bool_Boolean(TrueorFalse)storedasa byte
int_Defaultinteger type(sameasC long;normally either int64orint32)intcIdenticalto C int(normally int32orint64)intpIntegerusedforindexing(sameasCssize_t;normally either int32orint64)int8Byte(-128to127)int16Integer(-32768to32767)int32Integer(-2147483648to2147483647)int64Integer(-9223372036854775808to9223372036854775807)uint8Unsignedinteger(0to255)uint16Unsignedinteger(0to65535)uint32Unsignedinteger(0to4294967295)uint64Unsignedinteger(0to18446744073709551615)float_Shorthandforfloat64.float16Halfprecision float:sign bit,5bits exponent,10bits mantissa
float32Singleprecision float:sign bit,8bits exponent,23bits mantissa
float64Doubleprecision float:sign bit,11bits exponent,52bits mantissa
complex_Shorthandforcomplex128.complex64Complexnumber,represented by two32-bit floats(realandimaginary components)complex128Complexnumber,represented by two64-bit floats(realandimaginary components)