code: func nearlyEqual(a, b float64) bool {
  	epsilon := 0.000001
  
  	if a == b {
  		return true
  	}
  
  	diff := math.Abs(a - b)
  
  	if a == 0.0 || b == 0.0 || diff < math.SmallestNonzeroFloat64 {
  		return diff < (epsilon * math.SmallestNonzeroFloat64)
  	}
  
  	absA := math.Abs(a)
  	absB := math.Abs(b)
  
  	return diff/math.Min(absA+absB, math.MaxFloat64) < epsilon
  }
docs: // nearlyEqual compares two float64s and returns whether they are equal, accounting for rounding errors.At worst, the
  // result is correct to 7 significant digits.