What’s the difference between Double.MIN_NORMAL (introduced in Java 1.6) and Double.MIN_VALUE?
What’s the difference between Double.MIN_NORMAL (introduced in Java 1.6) and Double.MIN_VALUE ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The answer can be found in the IEEE specification of floating point representation:
In other words,
Double.MIN_NORMALis the smallest possible number you can represent, provided that you have a 1 in front of the binary point (what is referred to as decimal point in a decimal system). WhileDouble.MIN_VALUEis basically the smallest number you can represent without this constraint.