whole_func_string: function bnpFromInt(x) {
    var this_array = this.array;
    this.t = 1;
    this.s = (x<0)?-1:0;
    if(x > 0) this_array[0] = x;
    else if(x < -1) this_array[0] = x+DV;
    else this.t = 0;
  }
func_code_string: function bnpFromInt(x) {
    var this_array = this.array;
    this.t = 1;
    this.s = (x<0)?-1:0;
    if(x > 0) this_array[0] = x;
    else if(x < -1) this_array[0] = x+DV;
    else this.t = 0;
  }
func_documentation_string: (protected) set from integer value x, -DV <= x < DV