Online Java Compiler By
JavaTpoint.com
public class GetExponentExample5 { public static void main(String[] args) { float a = 0.0f; // Input zero, Output (Float.MIN_EXPONENT-1) System.out.println(Math.getExponent(a)); } }
Output