Java: error: Double.MIN_NORMAL not found


To fix the error of Double.MIN_NORMAL not defined, replace it with

Double.longBitsToDouble(0x0010000000000000L)

Double.MIN_NORMAL is a constant holding the smallest positive normal value of type double, 2-1022.

This post is also available in: Greek

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.