/**
 * Function to compare two floating-point numbers using epsilon.
 *
 * @param a First floating-point number for comparison.
 * @param b Second floating-point number for comparison.
 * @return True if the absolute difference between a and b is less than epsilon, False otherwise.
 */
fun epsilonCompare(a: Double, b: Double): Boolean {

    val epsilon = 1e-6  // Epsilon value to compare floating-point numbers
    return Math.abs(a - b) < epsilon
}
/**
 * Function to compare two floating-point numbers using epsilon.
 *
 * @param a First floating-point number for comparison.
 * @param b Second floating-point number for comparison.
 * @return True if the absolute difference between a and b is less than epsilon, False otherwise.
 */
fun epsilonCompare(a: Double, b: Double): Boolean {
/**
 * Function to compare two floating-point numbers using epsilon.
 *
 * @param a First floating-point number for comparison.
 * @param b Second floating-point number for comparison.
 * @return True if the absolute difference between a and b is less than epsilon, False otherwise.
 */
fun epsilonCompare(a: Double, b: Double): Boolean {

    val epsilon = 1e-6  // Epsilon value to compare floating-point numbers
    return Math.abs(a - b) < epsilon
}