The BITRSHIFT() function performs a bit-wise right shift operation of the first parameter. The number of bits to shift by is specified by the second parameter. Note that a negative number of bits to right shift by becomes a left shift.
Mae' r ffwythiant PERMUT () yn dychwelyd y nifer o trynewidion. Y paramedr cyntaf yw' r nifer o elfennau, a' r ail baramedr yw' r nifer o elfennau a ddefnyddir yn y trynewid.