/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
	    Object obj =  Float.MIN_VALUE; //1.40129846432481707E-45;
	    float floatVal = ((Number) obj).floatValue();
	    double doubleVal = ((Number) obj).doubleValue();
	    
	    System.out.println("obj is a " + obj.getClass().getSimpleName());
	    boolean result  = floatVal == Float.MIN_VALUE;
	    System.out.printf("%.60f == %.60f: %s.\n" , floatVal, Float.MIN_VALUE, result );

		result  = doubleVal == Float.MIN_VALUE;
	    System.out.printf("%.60f == %.60f: %s.\n" , doubleVal, Float.MIN_VALUE, result );
    

	    
	    obj = 1.40129846432481707E-45;
	    
	    floatVal = ((Number) obj).floatValue();
	    doubleVal = ((Number) obj).doubleValue();
	    Formatter fmt = new Formatter(); 
	    
	    System.out.println("obj is a " + obj.getClass().getSimpleName());
	    result  = floatVal == Float.MIN_VALUE;
	    System.out.println(fmt.format("%18.17e", floatVal) + " == " + fmt.format("%18.17e", Float.MIN_VALUE) + "? " + result );
	    result  = doubleVal == Float.MIN_VALUE;
		System.out.println(fmt.format("%18.17e", doubleVal) + "= = " + fmt.format("%18.17e",Float.MIN_VALUE) + "? " + result );
	}
}