8 Days Ago
Add math.IsNearlyZero() and math.IsNearlyEqual() (#2172) * Add math.IsNearlyZero() and math.IsNearlyEqual(). * Rename `smallNumber` to `epsilon` * Use 1e-8 for epsilon instead of max.exp(-8) * Fix comments to match function arguments * Remove epsilon variable, code style fixes.