package misc

import "math"

func EqualFloat(a, b float64) bool {
	epsilon := 1e-9 // small threshold
	return math.Abs(a-b) < epsilon
}
