app/src/main/java/fr/neamar/kiss/utils/calculator/Calculator.java
/**
	 * Returns {@code true} if the argument is a finite floating-point
	 * value; returns {@code false} otherwise (for NaN and infinity
	 * arguments).
	 *
	 * @param d the {@code double} value to be tested
	 * @return {@code true} if the argument is a finite
	 * floating-point value, {@code false} otherwise.
	 */
Returns  true if the argument is a finite floating-point
value; returns  false otherwise (for NaN and infinity
arguments).

@param d the  double value to be tested
@return  true if the argument is a finite
floating-point value,  false otherwise.
Returns true if the argument is a finite floating - point value ; returns false otherwise ( for NaN and infinity arguments ) . @param d the double value to be tested @return true if the argument is a finite floating - point value false otherwise .
public static boolean isFinite(double d) {
		if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
		    return Double.isFinite(d);
		} else {
			return Math.abs(d) <= Double.MAX_VALUE;
		}
	}
public static boolean isFinite ( double d ) { if ( Build . VERSION . SDK_INT >= Build . VERSION_CODES . N ) { return Double . isFinite ( d ) ; } else { return Math . abs ( d ) <= Double . MAX_VALUE ; } }
Returns {@code true} if the argument is a finite floating-point
 value; returns {@code false} otherwise (for NaN and infinity
 arguments).
Returns { @code true } if the argument is a finite floating - point value ; returns { @code false } otherwise ( for NaN and infinity arguments ) .