code: function chooseB(x, N) {
  
          var result = 0;
          switch (N % 4) {
  
            case 0:
              result = b0(x);
              break;
  
            case 1:
              result = b1(x);
              break;
  
            case 2:
              result = b2(x);
              break;
  
            case 3:
              result = b3(x);
              break;
  
            default:
          }
          return result;
        }
docs: /* eslint-enable no-shadow /* eslint-disable no-bitwise