Dear users, Please note that, from Monday, August 16, 2019, RSA keys shorter than 2048bit will no longer be accepted for security reasons. Please update your keys as needed before this date. If you need assistance with regard to this process, please contact

Thank you for your understanding.

Commit 9907c170 authored by Nico Mack's avatar Nico Mack

Added equals with epsilon method

parent 7796fee3
......@@ -84,4 +84,17 @@ public class MathUtils {
return constrained;
// ---------------------------------------------------------------------------
* @param first
* @param second
* @param epsilon
* @return
// ---------------------------------------------------------------------------
public static boolean equals(double first, double second, double epsilon) {
return (Math.abs(second - first) <= epsilon);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment