index.js
function Barrett(m)
{
  // setup Barrett
  this.r2 = nbi();
  this.q3 = nbi();
  Int128.ONE.dlShiftTo(2 * m.t, this.r2);
  this.mu = this.r2.divide(m);
  this.m = m;
}
function Barrett(m)
{
  // setup Barrett
  this.r2 = nbi();
  this.q3 = nbi();
  Int128.ONE.dlShiftTo(2 * m.t, this.r2);
  this.mu = this.r2.divide(m);
  this.m = m;
}
function Barrett ( m ) { // setup Barrett this . r2 = nbi ( ) ; this . q3 = nbi ( ) ; Int128 . ONE . dlShiftTo ( 2 * m . t , this . r2 ) ; this . mu = this . r2 . divide ( m ) ; this . m = m ; }
Barrett modular reduction
Barrett modular reduction