BitOperations.RotateRight メソッド

定義

オーバーロード

RotateRight(UInt32, Int32)

指定した値を指定したビット数だけ右に回転します。

RotateRight(UInt64, Int32)

指定した値を指定したビット数だけ右に回転します。

RotateRight(UIntPtr, Int32)

指定した値を指定したビット数だけ右に回転します。 x86 命令 ROR と同様の動作。

RotateRight(UInt32, Int32)

ソース:
BitOperations.cs
ソース:
BitOperations.cs
ソース:
BitOperations.cs

重要

この API は CLS 準拠ではありません。

指定した値を指定したビット数だけ右に回転します。

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

パラメーター

value
UInt32

回転する値。

offset
Int32

回転するビット数。 範囲 [0..31] 以外のすべての値は、32 を法として合同として扱われます。

戻り値

回転後の値。

属性

注釈

このメソッドは、x86 命令 ROR の動作に似ています。

適用対象

RotateRight(UInt64, Int32)

ソース:
BitOperations.cs
ソース:
BitOperations.cs
ソース:
BitOperations.cs

重要

この API は CLS 準拠ではありません。

指定した値を指定したビット数だけ右に回転します。

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

パラメーター

value
UInt64

回転する値。

offset
Int32

回転するビット数。 範囲 [0..63] 以外のすべての値は、64 を法として合同として扱われます。

戻り値

回転後の値。

属性

注釈

このメソッドは、x86 命令 ROR の動作に似ています。

適用対象

RotateRight(UIntPtr, Int32)

ソース:
BitOperations.cs
ソース:
BitOperations.cs
ソース:
BitOperations.cs

重要

この API は CLS 準拠ではありません。

指定した値を指定したビット数だけ右に回転します。 x86 命令 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

パラメーター

value
UIntPtr

unativeint

回転する値。

offset
Int32

回転するビット数。 [0..31] の範囲外の値は、32 ビット プロセスでは congruent mod 32 として扱われ、[0..63] の範囲外の値は、64 ビット プロセスでは congruent mod 64 として扱われます。

戻り値

UIntPtr

unativeint

回転後の値。

属性

適用対象