final double difference = FastMath.abs(p - c); final double size = FastMath.max(FastMath.abs(p), FastMath.abs(c)); return difference <= size * getRelativeThreshold() || difference <= getAbsoluteThreshold();
final double difference = Math.abs(p - c); final double size = Math.max(Math.abs(p), Math.abs(c)); return difference <= size * getRelativeThreshold() || difference <= getAbsoluteThreshold();
final double difference = FastMath.abs(p - c); final double size = FastMath.max(FastMath.abs(p), FastMath.abs(c)); return difference <= size * getRelativeThreshold() || difference <= getAbsoluteThreshold();