Definición

Devuelve un valor que indica si un valor especificado es mayor o igual que otro valor especificado.Returns a value that indicates whether a specified value is greater than or equal to another specified value.

Sobrecargas

 GreaterThanOrEqual(Int64, BigInteger) Devuelve un valor que indica si un entero de 64 bits con signo es mayor o igual que un valor BigInteger.Returns a value that indicates whether a 64-bit signed integer is greater than or equal to a BigInteger value. GreaterThanOrEqual(BigInteger, Int64) Devuelve un valor que indica si un valor BigInteger es mayor o igual que un valor entero de 64 bits con signo.Returns a value that indicates whether a BigInteger value is greater than or equal to a 64-bit signed integer value. GreaterThanOrEqual(BigInteger, BigInteger) Devuelve un valor que indica si un valor BigInteger es mayor o igual que otro valor BigInteger.Returns a value that indicates whether a BigInteger value is greater than or equal to another BigInteger value. GreaterThanOrEqual(BigInteger, UInt64) Devuelve un valor que indica si un valor BigInteger es mayor o igual que un valor entero de 64 bits sin signo.Returns a value that indicates whether a BigInteger value is greater than or equal to a 64-bit unsigned integer value. GreaterThanOrEqual(UInt64, BigInteger) Devuelve un valor que indica si un entero de 64 bits sin signo es mayor o igual que un valor BigInteger.Returns a value that indicates whether a 64-bit unsigned integer is greater than or equal to a BigInteger value.

GreaterThanOrEqual(Int64, BigInteger)

Devuelve un valor que indica si un entero de 64 bits con signo es mayor o igual que un valor BigInteger.Returns a value that indicates whether a 64-bit signed integer is greater than or equal to a BigInteger value.

``````public:
static bool operator >=(long left, System::Numerics::BigInteger right);``````
``public static bool operator >= (long left, System.Numerics.BigInteger right);``
``static member ( >= ) : int64 * System.Numerics.BigInteger -> bool``
``Public Shared Operator >= (left As Long, right As BigInteger) As Boolean``

Parámetros

left
Int64

Primer valor que se va a comparar.The first value to compare.

right
BigInteger

Segundo valor que se va a comparar.The second value to compare.

Devoluciones

Es `true` si `left` es mayor que `right`; en caso contrario, es `false`.`true` if `left` is greater than `right`; otherwise, `false`.

Comentarios

El método GreaterThanOrEqual define la operación del operador mayor o igual que para los valores de BigInteger.The GreaterThanOrEqual method defines the operation of the greater than or equal to operator for BigInteger values. Permite el código como el siguiente:It enables code such as the following:

``````BigInteger bigNumber = BigInteger.Pow(Int32.MaxValue, 4);
long number = Int64.MaxValue;
if (number >= bigNumber) {
// Do something;
}
``````
``````Dim bigNumber As BigInteger = BigInteger.Pow(Int32.MaxValue, 4)
Dim number As Long = Int64.MaxValue
If number >= bigNumber Then
' Do something
End If
``````

Los lenguajes que no admiten operadores personalizados pueden llamar al método BigInteger.CompareTo(Int64) en su lugar.Languages that do not support custom operators can call the BigInteger.CompareTo(Int64) method instead. Algunos lenguajes también pueden llamar al método GreaterThanOrEqual(Int64, BigInteger) directamente, como se muestra en el ejemplo siguiente.Some languages can also call the GreaterThanOrEqual(Int64, BigInteger) method directly, as the following example shows.

``````Dim bigNumber As BigInteger = BigInteger.Pow(Int32.MaxValue, 4)
Dim number As Long = Int64.MaxValue
If BigInteger.op_GreaterThanOrEqual(number,bigNumber) Then
' Do something
End If
``````

Si `left` es un valor Byte, Int16, Int32, SByte, UInt16o UInt32, se convierte implícitamente en un valor Int64 cuando se realiza la operación.If `left` is a Byte, Int16, Int32, SByte, UInt16, or UInt32 value, it is implicitly converted to an Int64 value when the operation is performed.

El método equivalente para este operador es BigInteger.CompareTo(Int64).The equivalent method for this operator is BigInteger.CompareTo(Int64).

GreaterThanOrEqual(BigInteger, Int64)

Devuelve un valor que indica si un valor BigInteger es mayor o igual que un valor entero de 64 bits con signo.Returns a value that indicates whether a BigInteger value is greater than or equal to a 64-bit signed integer value.

``````public:
static bool operator >=(System::Numerics::BigInteger left, long right);``````
``public static bool operator >= (System.Numerics.BigInteger left, long right);``
``static member ( >= ) : System.Numerics.BigInteger * int64 -> bool``
``Public Shared Operator >= (left As BigInteger, right As Long) As Boolean``

Parámetros

left
BigInteger

Primer valor que se va a comparar.The first value to compare.

right
Int64

Segundo valor que se va a comparar.The second value to compare.

Devoluciones

Es `true` si `left` es mayor que `right`; en caso contrario, es `false`.`true` if `left` is greater than `right`; otherwise, `false`.

Comentarios

El método GreaterThanOrEqual define la operación del operador mayor o igual que para los valores de BigInteger.The GreaterThanOrEqual method defines the operation of the greater than or equal to operator for BigInteger values. Permite el código como el siguiente:It enables code such as the following:

``````BigInteger bigNumber = BigInteger.Pow(Int32.MaxValue, 4);
long number = Int64.MaxValue;
if (bigNumber >= number) {
// Do something;
}
``````
``````Dim bigNumber As BigInteger = BigInteger.Pow(Int32.MaxValue, 4)
Dim number As Long = Int64.MaxValue
If bigNumber >= number Then
' Do something
End If
``````

Los lenguajes que no admiten operadores personalizados pueden llamar al método BigInteger.CompareTo(Int64) en su lugar.Languages that do not support custom operators can call the BigInteger.CompareTo(Int64) method instead. Algunos lenguajes también pueden llamar al método GreaterThanOrEqual(BigInteger, Int64) directamente, como se muestra en el ejemplo siguiente.Some languages can also call the GreaterThanOrEqual(BigInteger, Int64) method directly, as the following example shows.

``````Dim bigNumber As BigInteger = BigInteger.Pow(Int32.MaxValue, 4)
Dim number As Long = Int64.MaxValue
If BigInteger.op_GreaterThanOrEqual(bigNumber,number) Then
' Do something
End If
``````

Si `right` es un valor Byte, Int16, Int32, SByte, UInt16o UInt32, se convierte implícitamente en un valor Int64 cuando se realiza la operación.If `right` is a Byte, Int16, Int32, SByte, UInt16, or UInt32 value, it is implicitly converted to an Int64 value when the operation is performed.

El método equivalente para este operador es BigInteger.CompareTo(Int64).The equivalent method for this operator is BigInteger.CompareTo(Int64).

GreaterThanOrEqual(BigInteger, BigInteger)

Devuelve un valor que indica si un valor BigInteger es mayor o igual que otro valor BigInteger.Returns a value that indicates whether a BigInteger value is greater than or equal to another BigInteger value.

``````public:
static bool operator >=(System::Numerics::BigInteger left, System::Numerics::BigInteger right);``````
``public static bool operator >= (System.Numerics.BigInteger left, System.Numerics.BigInteger right);``
``static member ( >= ) : System.Numerics.BigInteger * System.Numerics.BigInteger -> bool``
``Public Shared Operator >= (left As BigInteger, right As BigInteger) As Boolean``

Parámetros

left
BigInteger

Primer valor que se va a comparar.The first value to compare.

right
BigInteger

Segundo valor que se va a comparar.The second value to compare.

Devoluciones

Es `true` si `left` es mayor que `right`; en caso contrario, es `false`.`true` if `left` is greater than `right`; otherwise, `false`.

Comentarios

El método GreaterThanOrEqual define la operación del operador mayor o igual que para los valores de BigInteger.The GreaterThanOrEqual method defines the operation of the greater than or equal to operator for BigInteger values. Permite el código como el siguiente:It enables code such as the following:

``````BigInteger number1 = 945834723;
BigInteger number2 = 345145625;
BigInteger number3 = 945834724;
BigInteger number4 = 945834723;
Console.WriteLine(number1 >= number2);             // Displays True
Console.WriteLine(number1 >= number3);             // Displays False
Console.WriteLine(number1 >= number4);             // Displays True
``````
``````Dim number1 As BigInteger = 945834723
Dim number2 As BigInteger = 345145625
Dim number3 As BigInteger = 945834724
Dim number4 As BigInteger = 945834723
Console.WriteLine(number1 >= number2)                 ' Displays True
Console.WriteLine(number1 >= number3)                 ' Displays False
Console.WriteLine(number1 >= number4)                 ' Displays True
``````

Los lenguajes que no admiten operadores personalizados pueden llamar al método BigInteger.Compare en su lugar.Languages that do not support custom operators can call the BigInteger.Compare method instead. Algunos lenguajes también pueden llamar al método GreaterThanOrEqual(BigInteger, BigInteger) directamente, como se muestra en el ejemplo siguiente.Some languages can also call the GreaterThanOrEqual(BigInteger, BigInteger) method directly, as the following example shows.

``````Dim numberA As BigInteger = 945834723
Dim numberB As BigInteger = 345145625
Dim numberC As BigInteger = 945834724
Dim numberD As BigInteger = 945834723
Console.WriteLine( _
BigInteger.op_GreaterThanOrEqual(numberA, numberB))    ' Displays True
Console.WriteLine( _
BigInteger.op_GreaterThanOrEqual(numberA, numberC))    ' Displays False
Console.WriteLine( _
BigInteger.op_GreaterThanOrEqual(numberA, numberD))    ' Displays True
``````

El método equivalente para este operador es BigInteger.CompareTo(BigInteger).The equivalent method for this operator is BigInteger.CompareTo(BigInteger).

GreaterThanOrEqual(BigInteger, UInt64)

Importante

Esta API no es conforme a CLS.

Devuelve un valor que indica si un valor BigInteger es mayor o igual que un valor entero de 64 bits sin signo.Returns a value that indicates whether a BigInteger value is greater than or equal to a 64-bit unsigned integer value.

``````public:
static bool operator >=(System::Numerics::BigInteger left, System::UInt64 right);``````
``````[System.CLSCompliant(false)]
public static bool operator >= (System.Numerics.BigInteger left, ulong right);``````
``public static bool operator >= (System.Numerics.BigInteger left, ulong right);``
``static member ( >= ) : System.Numerics.BigInteger * uint64 -> bool``
``Public Shared Operator >= (left As BigInteger, right As ULong) As Boolean``

Parámetros

left
BigInteger

Primer valor que se va a comparar.The first value to compare.

right
UInt64

Segundo valor que se va a comparar.The second value to compare.

Devoluciones

Es `true` si `left` es mayor que `right`; en caso contrario, es `false`.`true` if `left` is greater than `right`; otherwise, `false`.

Atributos

Comentarios

El método GreaterThanOrEqual define la operación del operador mayor o igual que para los valores de BigInteger.The GreaterThanOrEqual method defines the operation of the greater than or equal to operator for BigInteger values. Permite el código como el siguiente:It enables code such as the following:

``````BigInteger bigNumber = BigInteger.Pow(Int32.MaxValue, 2);
ulong number = UInt64.MaxValue;
if (bigNumber >= number) {
// Do something
}
``````
``````Dim bigNumber As BigInteger = BigInteger.Pow(Int32.MaxValue, 2)
Dim number As ULong = UInt64.MaxValue
If bigNumber >= number Then
' Do something
End If
``````

Los lenguajes que no admiten operadores personalizados pueden llamar al método BigInteger.CompareTo(UInt64) en su lugar.Languages that do not support custom operators can call the BigInteger.CompareTo(UInt64) method instead. Algunos lenguajes también pueden llamar al método GreaterThanOrEqual(BigInteger, UInt64) directamente, como se muestra en el ejemplo siguiente.Some languages can also call the GreaterThanOrEqual(BigInteger, UInt64) method directly, as the following example shows.

``````Dim bigNumber As BigInteger = BigInteger.Pow(Int32.MaxValue, 2)
Dim number As ULong = UInt64.MaxValue
If BigInteger.op_GreaterThanOrEqual(bigNumber, number) Then
' Do something
End If
``````

El método equivalente para este operador es BigInteger.CompareTo(UInt64).The equivalent method for this operator is BigInteger.CompareTo(UInt64).

GreaterThanOrEqual(UInt64, BigInteger)

Importante

Esta API no es conforme a CLS.

Devuelve un valor que indica si un entero de 64 bits sin signo es mayor o igual que un valor BigInteger.Returns a value that indicates whether a 64-bit unsigned integer is greater than or equal to a BigInteger value.

``````public:
static bool operator >=(System::UInt64 left, System::Numerics::BigInteger right);``````
``````[System.CLSCompliant(false)]
public static bool operator >= (ulong left, System.Numerics.BigInteger right);``````
``public static bool operator >= (ulong left, System.Numerics.BigInteger right);``
``static member ( >= ) : uint64 * System.Numerics.BigInteger -> bool``
``Public Shared Operator >= (left As ULong, right As BigInteger) As Boolean``

Parámetros

left
UInt64

Primer valor que se va a comparar.The first value to compare.

right
BigInteger

Segundo valor que se va a comparar.The second value to compare.

Devoluciones

Es `true` si `left` es mayor que `right`; en caso contrario, es `false`.`true` if `left` is greater than `right`; otherwise, `false`.

Atributos

Comentarios

El método GreaterThanOrEqual define la operación del operador mayor o igual que para los valores de BigInteger.The GreaterThanOrEqual method defines the operation of the greater than or equal to operator for BigInteger values. Permite el código como el siguiente:It enables code such as the following:

``````BigInteger bigNumber = BigInteger.Pow(Int32.MaxValue, 2);
ulong number = UInt64.MaxValue;
if (number >= bigNumber) {
// Do something
}
``````
``````Dim bigNumber As BigInteger = BigInteger.Pow(Int32.MaxValue, 2)
Dim number As ULong = UInt64.MaxValue
If number >= bigNumber Then
' Do something
End If
``````

Los lenguajes que no admiten operadores personalizados pueden llamar al método BigInteger.CompareTo(UInt64) en su lugar.Languages that do not support custom operators can call the BigInteger.CompareTo(UInt64) method instead. Algunos lenguajes también pueden llamar al método GreaterThanOrEqual(UInt64, BigInteger) directamente, como se muestra en el ejemplo siguiente.Some languages can also call the GreaterThanOrEqual(UInt64, BigInteger) method directly, as the following example shows.

``````Dim bigNumber As BigInteger = BigInteger.Pow(Int32.MaxValue, 2)
Dim number As ULong = UInt64.MaxValue
If BigInteger.op_GreaterThanOrEqual(number, bigNumber) Then
' Do something
End If
``````

El método equivalente para este operador es BigInteger.CompareTo(UInt64).The equivalent method for this operator is BigInteger.CompareTo(UInt64).