code: function inverse$22(p) {
          p.x -= this.x0;
          p.y = this.rh - p.y + this.y0;
          var con, rh1, lat, lon;
          if (this.ns >= 0) {
              rh1 = Math.sqrt(p.x * p.x + p.y * p.y);
              con = 1;
          }
          else {
              rh1 = -Math.sqrt(p.x * p.x + p.y * p.y);
              con = -1;
          }
          var theta = 0;
          if (rh1 !== 0) {
              theta = Math.atan2(con * p.x, con * p.y);
          }
  
          if (this.sphere) {
              lon = adjust_lon(this.long0 + theta / this.ns);
              lat = adjust_lat(this.g - rh1 / this.a);
              p.x = lon;
              p.y = lat;
              return p;
          }
          else {
              var ml = this.g - rh1 / this.a;
              lat = imlfn(ml, this.e0, this.e1, this.e2, this.e3);
              lon = adjust_lon(this.long0 + theta / this.ns);
              p.x = lon;
              p.y = lat;
              return p;
          }
  
      }
docs: /* Inverse equations
  -----------------