BitOperations.RotateRight Metod

Definition

Överlagringar

Name Description
RotateRight(UInt32, Int32)

Roterar det angivna värdet direkt efter det angivna antalet bitar.

RotateRight(UInt64, Int32)

Roterar det angivna värdet direkt efter det angivna antalet bitar.

RotateRight(UIntPtr, Int32)

Roterar det angivna värdet direkt efter det angivna antalet bitar. Liknar i beteendet för x86-instruktions-ROR.

RotateRight(UInt32, Int32)

Källa:
BitOperations.cs
Källa:
BitOperations.cs
Källa:
BitOperations.cs
Källa:
BitOperations.cs
Källa:
BitOperations.cs

Viktigt!

Detta API uppfyller inte CLS.

Roterar det angivna värdet direkt efter det angivna antalet bitar.

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

Parametrar

value
UInt32

Värdet som ska roteras.

offset
Int32

Antalet bitar som ska roteras med. Alla värden utanför intervallet [0..31] behandlas som congruent mod 32.

Returer

Det roterade värdet.

Attribut

Kommentarer

Den här metoden liknar i beteendet för x86-instruktionens ROR.

Gäller för

RotateRight(UInt64, Int32)

Källa:
BitOperations.cs
Källa:
BitOperations.cs
Källa:
BitOperations.cs
Källa:
BitOperations.cs
Källa:
BitOperations.cs

Viktigt!

Detta API uppfyller inte CLS.

Roterar det angivna värdet direkt efter det angivna antalet bitar.

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

Parametrar

value
UInt64

Värdet som ska roteras.

offset
Int32

Antalet bitar som ska roteras med. Alla värden utanför intervallet [0..63] behandlas som congruent mod 64.

Returer

Det roterade värdet.

Attribut

Kommentarer

Den här metoden liknar i beteendet för x86-instruktionens ROR.

Gäller för

RotateRight(UIntPtr, Int32)

Källa:
BitOperations.cs
Källa:
BitOperations.cs
Källa:
BitOperations.cs
Källa:
BitOperations.cs
Källa:
BitOperations.cs

Viktigt!

Detta API uppfyller inte CLS.

Roterar det angivna värdet direkt efter det angivna antalet bitar. Liknar i beteendet för x86-instruktions-ROR.

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

Parametrar

value
UIntPtr

unativeint

Värdet som ska roteras.

offset
Int32

Antalet bitar som ska roteras med. Alla värden utanför intervallet [0..31] behandlas som congruent mod 32 på en 32-bitarsprocess, och alla värden utanför intervallet [0..63] behandlas som congruent mod 64 på en 64-bitarsprocess.

Returer

UIntPtr

unativeint

Det roterade värdet.

Attribut

Gäller för