docs: public void setRange(double A, double B)
      {
          if(A == B)
              throw new RuntimeException("Values must be different");
          else if(B > A)
          {
              double tmp = A;
              A = B;
              B = tmp;
          }
          this.A = A;
          this.B = B;
      }