What is the purpose of arbitrary precision constants in Go?
问题 Go features untyped exact numeric constants with arbitrary size and precision. The spec requires all compilers to support integers to at least 256 bits, and floats to at least 272 bits (256 bits for the mantissa and 16 bits for the exponent). So compilers are required to faithfully and exactly represent expressions like this: const ( PI = 3.1415926535897932384626433832795028841971 Prime256 = 84028154888444252871881479176271707868370175636848156449781508641811196133203 ) This is interesting..