BitOperations.RotateRight Método
Definição
Sobrecargas
| RotateRight(UInt32, Int32) |
Gira o valor especificado para a direita pelo número especificado de bits.Rotates the specified value right by the specified number of bits. |
| RotateRight(UInt64, Int32) |
Gira o valor especificado para a direita pelo número especificado de bits.Rotates the specified value right by the specified number of bits. |
RotateRight(UInt32, Int32)
Importante
Esta API não está em conformidade com CLS.
Gira o valor especificado para a direita pelo número especificado de bits.Rotates the specified value right by the specified number of bits.
public:
static System::UInt32 RotateRight(System::UInt32 value, int offset);
[System.CLSCompliant(false)]
public static uint RotateRight (uint value, int offset);
[<System.CLSCompliant(false)>]
static member RotateRight : uint32 * int -> uint32
Public Shared Function RotateRight (value As UInteger, offset As Integer) As UInteger
Parâmetros
- value
- UInt32
O valor a ser girado.The value to rotate.
- offset
- Int32
O número de bits pelo qual girar o valor.The number of bits to rotate by. Qualquer valor fora do intervalo [0-31] é tratado como congruente mod 32.Any value outside the range [0..31] is treated as congruent mod 32.
Retornos
O valor girado.The rotated value.
- Atributos
Comentários
Esse método é semelhante ao comportamento do ROR de instruções x86.This method is similar in behavior to the x86 instruction ROR.
Aplica-se a
RotateRight(UInt64, Int32)
Importante
Esta API não está em conformidade com CLS.
Gira o valor especificado para a direita pelo número especificado de bits.Rotates the specified value right by the specified number of bits.
public:
static System::UInt64 RotateRight(System::UInt64 value, int offset);
[System.CLSCompliant(false)]
public static ulong RotateRight (ulong value, int offset);
[<System.CLSCompliant(false)>]
static member RotateRight : uint64 * int -> uint64
Public Shared Function RotateRight (value As ULong, offset As Integer) As ULong
Parâmetros
- value
- UInt64
O valor a ser girado.The value to rotate.
- offset
- Int32
O número de bits pelo qual girar o valor.The number of bits to rotate by. Qualquer valor fora do intervalo [0-63] é tratado como congruente mod 64.Any value outside the range [0..63] is treated as congruent mod 64.
Retornos
O valor girado.The rotated value.
- Atributos
Comentários
Esse método é semelhante ao comportamento do ROR de instruções x86.This method is similar in behavior to the x86 instruction ROR.