/**
 * This function checks if two floating-point numbers,
 * a and b, are approximately equal within a given
 * tolerance epsilon (eps).
 *
 * @param a First floating-point number.
 * @param b Second floating-point number.
 * @param eps Tolerance epsilon.
 * @return True if a and b are approximately equal within
 * the given epsilon, False otherwise.
 */
fun areEqualFloat(a: Double, b: Double, eps: Double): Boolean {

    return Math.abs(a - b) <= eps
}
/**
 * This function checks if two floating-point numbers,
 * a and b, are approximately equal within a given
 * tolerance epsilon (eps).
 *
 * @param a First floating-point number.
 * @param b Second floating-point number.
 * @param eps Tolerance epsilon.
 * @return True if a and b are approximately equal within
 * the given epsilon, False otherwise.
 */
fun areEqualFloat(a: Double, b: Double, eps: Double): Boolean {
/**
 * This function checks if two floating-point numbers,
 * a and b, are approximately equal within a given
 * tolerance epsilon (eps).
 *
 * @param a First floating-point number.
 * @param b Second floating-point number.
 * @param eps Tolerance epsilon.
 * @return True if a and b are approximately equal within
 * the given epsilon, False otherwise.
 */
fun areEqualFloat(a: Double, b: Double, eps: Double): Boolean {

    return Math.abs(a - b) <= eps
}