The biggest integer value can be represented by double in Java

alex.seluta

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?

Muhammed Refaat
  • 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] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

how to keep 10 biggest integer while reading a list in java?

분류에서Dev

util.JDBCExceptionReporter Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp

분류에서Dev

How can I sum the second digit to the last digit in an integer on java?

분류에서Dev

fast double multiplication with integer precision

분류에서Dev

Double Integrals & Expected Value Monte Carlo Method in Java

분류에서Dev

is there any ways to print the exact value of a double that exceeds Double.POSITIVE_INFINITY in java?

분류에서Dev

Sorting dictionary-represented graph edges by value/weight

분류에서Dev

Item in a collection represented by Items.Count can be the latest or the first to be received

분류에서Dev

Incorrect integer value: '' for column

분류에서Dev

what this integer value means?

분류에서Dev

Java의 "double, Double, HashSet"

분류에서Dev

Can't map Integer

분류에서Dev

Read a file into Map<Integer, ArrayList<Double>>

분류에서Dev

Hibernate : java.lang.ClassCastException : java.lang.Integer는 java.lang.Double로 캐스트 될 수 없습니다.

분류에서Dev

java.lang.ClassCastException : java.lang.Integer는 java.lang.Double로 캐스트 될 수 없습니다.

분류에서Dev

Error org.json.JSONException: Value 1 at error of type java.lang.Integer cannot be converted to boolean

분류에서Dev

(int & Integer.MAX_VALUE) % int는 Java에서 무엇을합니까?

분류에서Dev

서버 응답 "java.lang.Integer를 java.lang.Double로 캐스트 할 수 없습니다."

분류에서Dev

Java에서 Local Number Formatter를 사용한 Double Value Aligment

분류에서Dev

Setting Integer value in Objective c

분류에서Dev

How to put integer value in JLabel?

분류에서Dev

Combining integer and string in array value

분류에서Dev

How can I mimic 3D rotation of an object represented by a set of images

분류에서Dev

Double value in Google chart not working

분류에서Dev

AchartEngine timeseries double value to date

분류에서Dev

How do I convert a double variable to an integer variable?

분류에서Dev

Map <Integer, ArrayList <Double >>로 파일 읽기

분류에서Dev

JavaScript에서 double 및 integer에 대한 RegEx

분류에서Dev

C++ User enters a non-integer value for integer variable

Related 관련 기사

  1. 1

    how to keep 10 biggest integer while reading a list in java?

  2. 2

    util.JDBCExceptionReporter Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp

  3. 3

    How can I sum the second digit to the last digit in an integer on java?

  4. 4

    fast double multiplication with integer precision

  5. 5

    Double Integrals & Expected Value Monte Carlo Method in Java

  6. 6

    is there any ways to print the exact value of a double that exceeds Double.POSITIVE_INFINITY in java?

  7. 7

    Sorting dictionary-represented graph edges by value/weight

  8. 8

    Item in a collection represented by Items.Count can be the latest or the first to be received

  9. 9

    Incorrect integer value: '' for column

  10. 10

    what this integer value means?

  11. 11

    Java의 "double, Double, HashSet"

  12. 12

    Can't map Integer

  13. 13

    Read a file into Map<Integer, ArrayList<Double>>

  14. 14

    Hibernate : java.lang.ClassCastException : java.lang.Integer는 java.lang.Double로 캐스트 될 수 없습니다.

  15. 15

    java.lang.ClassCastException : java.lang.Integer는 java.lang.Double로 캐스트 될 수 없습니다.

  16. 16

    Error org.json.JSONException: Value 1 at error of type java.lang.Integer cannot be converted to boolean

  17. 17

    (int & Integer.MAX_VALUE) % int는 Java에서 무엇을합니까?

  18. 18

    서버 응답 "java.lang.Integer를 java.lang.Double로 캐스트 할 수 없습니다."

  19. 19

    Java에서 Local Number Formatter를 사용한 Double Value Aligment

  20. 20

    Setting Integer value in Objective c

  21. 21

    How to put integer value in JLabel?

  22. 22

    Combining integer and string in array value

  23. 23

    How can I mimic 3D rotation of an object represented by a set of images

  24. 24

    Double value in Google chart not working

  25. 25

    AchartEngine timeseries double value to date

  26. 26

    How do I convert a double variable to an integer variable?

  27. 27

    Map <Integer, ArrayList <Double >>로 파일 읽기

  28. 28

    JavaScript에서 double 및 integer에 대한 RegEx

  29. 29

    C++ User enters a non-integer value for integer variable

뜨겁다태그

보관