docs: function equals(a, b) {
    var a0 = a[0]
    var a1 = a[1]
    var b0 = b[0]
    var b1 = b[1]
    return (Math.abs(a0 - b0) <= EPSILON * Math.max(1.0, Math.abs(a0), Math.abs(b0)) &&
            Math.abs(a1 - b1) <= EPSILON * Math.max(1.0, Math.abs(a1), Math.abs(b1)))
  }