MCPcopy Create free account
hub / github.com/adobe/Marinus / eq

Function eq

web_server/public/javascripts/geometry.js:10–12  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

8 var tolerance = 1e-10;
9
10 function eq(a, b) {
11 return (Math.abs(a - b) < tolerance);
12 }
13
14 function gt(a, b) {
15 return (a - b > -tolerance);

Callers 1

geometry.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected