CodePudding user response:
Type double said two 64, you cross a line, 2 ^ 62=18446744073709551616, so can type double said only - 9223372036854775807 ~ + 9223372036854775807;CodePudding user response:
Double-precision floating-point number double save index memory size is 11, and the starting value is 1023, so the floating-point index a maximum of 11-1) (2 ^ - 1023=1024, then double precision floating-point double the value range is 1024 ~ 2 ^ - ^ 2, 1024, namely - e308 1.79 ~ 1.79 e308,Please refer to the "c + + floating-point variable storage"
Wish I could help you!
CodePudding user response: