Share via


BitOperations.RotateRight Método

Definición

Sobrecargas

RotateRight(UInt32, Int32)

Gira el valor especificado a la derecha el número de bits especificado.

RotateRight(UInt64, Int32)

Gira el valor especificado a la derecha el número de bits especificado.

RotateRight(UIntPtr, Int32)

Gira el valor especificado a la derecha el número de bits especificado. Similar en comportamiento a la ROR de instrucción x86.

RotateRight(UInt32, Int32)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Importante

Esta API no es conforme a CLS.

Gira el valor especificado a la derecha el número de bits especificado.

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

Valor que se va a girar.

offset
Int32

Número de bits por el que se va a girar. Cualquier valor fuera del intervalo [0-31] se trata como un módulo de congruencia 32.

Devoluciones

El valor girado.

Atributos

Comentarios

Este método es similar en comportamiento a la ROR de instrucción x86.

Se aplica a

RotateRight(UInt64, Int32)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Importante

Esta API no es conforme a CLS.

Gira el valor especificado a la derecha el número de bits especificado.

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

Valor que se va a girar.

offset
Int32

Número de bits por el que se va a girar. Cualquier valor fuera del intervalo [0-63] se trata como un módulo de congruencia 64.

Devoluciones

El valor girado.

Atributos

Comentarios

Este método es similar en comportamiento a la ROR de instrucción x86.

Se aplica a

RotateRight(UIntPtr, Int32)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Importante

Esta API no es conforme a CLS.

Gira el valor especificado a la derecha el número de bits especificado. Similar en comportamiento a la ROR de instrucción x86.

public:
 static UIntPtr RotateRight(UIntPtr value, int offset);
[System.CLSCompliant(false)]
public static UIntPtr RotateRight (UIntPtr value, int offset);
[<System.CLSCompliant(false)>]
static member RotateRight : unativeint * int -> unativeint
Public Shared Function RotateRight (value As UIntPtr, offset As Integer) As UIntPtr

Parámetros

value
UIntPtr

unativeint

Valor que se va a girar.

offset
Int32

Número de bits por el que se va a girar. Cualquier valor fuera del intervalo [0..31] se trata como congruente mod 32 en un proceso de 32 bits y cualquier valor fuera del intervalo [0..63] se trata como mod 64 congruente en un proceso de 64 bits.

Devoluciones

UIntPtr

unativeint

El valor girado.

Atributos

Se aplica a