Why double.MaxValue is larger than long.MaxValue?

后端 未结 0 1902
误落风尘
误落风尘 2021-02-12 04:45

both of them hold 8 bytes, but how come the max value for double is much greater than the max value of long? there is a finite number of bits available, so how could yo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题