Bug 183890 [DataBinding] Default converter for numbers to numbers
We don't currently default converters for converting between numbers (e.g. int to double, long to int, etc.).
bundles/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/StringToNumberParser.java
*/
	public static boolean inLongRange(Number number) {
		return checkInteger(number, 63);
	}
	/**
	 * Returns <code>true</code> if the provided <code>number</code> is in
	 * the range of a float.
	 * 
	 * @param number
	 * @return <code>true</code> if in range
	 * @throws IllegalArgumentException
	 *             if the number type is unsupported
	 */
	public static boolean inFloatRange(Number number) {
		return checkDecimal(number, FLOAT_MIN_BIG_DECIMAL, FLOAT_MAX_BIG_DECIMAL);
	}
	
	private static boolean checkDecimal(Number number, BigDecimal min, BigDecimal max) {
		BigDecimal bigDecimal = null;
		if (number instanceof Integer || number instanceof Long) {
			bigDecimal = new BigDecimal(number.doubleValue());
		} else if (number instanceof Float || number instanceof Double) {
			double doubleValue = number.doubleValue();
			/*
			 * doubleValue == doubleValue is used to check for NaN because NaN !=
			 * NaN. The only way to check for NaN is to compare that the value
			 * is equal to itself.
			 */
			if (doubleValue == doubleValue
					&& doubleValue != Double.NEGATIVE_INFINITY