Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

bits on 64 bit machines?

bit Bits machines
0
Posted

bits on 64 bit machines?

0

The sizes of int and uint are implementation-specific but the same as each other on a given platform. The 64 bit Go compilers (both 6g and gccgo) use a 32 bit representation for int. Code that relies on a particular size of value should use an explicitly sized type, like int64. On the other hand, floating-point scalars and complex numbers are always sized: float32, complex64, etc., because programmers should be aware of precision when using floating-point numbers. The default size of a floating-point constant is float64.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123