What is the biggest integer value can be represented by double in Java? And what is the biggest value can be represented with the maximum digits after the point? Is it depends number of digits before point on maximum number of digits after the point? There are two fields in the class Double: MAX_VALUE and MIN_VALUE. What is the MAX_VALUE sense?
The biggest integer value represented by double is : 2^53 , for details look here.
And the biggest value can be represented with max digits after the point depends on the number itself, but the max number of digits (for example when representing 0.1
) is 0.1000000000000000055511151231257827021181583404541015625
have a look at this answer.
And the MAX_VALUE represents : (2-2^-52)·2^1023 (have a look at min and max values at this answer)
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다