• (approx= x y eps)
Return true if the absolute value of the difference between x and y
is less than eps.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/generic/math_functions.clj:110 top

(defn approx=
  "Return true if the absolute value of the difference between x and y
   is less than eps."
  [x y eps]
  (gc/< (abs (ga/- x y)) eps))
Vars in clojure.contrib.generic.math-functions/approx=: defn
Used in 0 other vars

Comments top

No comments for approx=. Log in to add a comment.