nearZero function
Whether a double is within a given distance of zero.
The epsilon argument must be positive.
Implementation
bool nearZero(double a, double epsilon) => nearEqual(a, 0.0, epsilon);
Whether a double is within a given distance of zero.
The epsilon argument must be positive.
bool nearZero(double a, double epsilon) => nearEqual(a, 0.0, epsilon);