Site icon Bytefreaks.net

Java: error: Double.MIN_NORMAL not found

Advertisements

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

Exit mobile version