INumericExtendedTSelf Interface

An extended version of INumericTSelf that supports non-CLS-compliant operations such as conversion to unsigned numbers.

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
[CLSCompliantAttribute(false)]
public interface INumericExtended<TSelf> : INumeric<TSelf>, 
	IComparable, IComparable<TSelf>, IEquatable<TSelf>, IFormattable, 
	IProvider<IBinaryIO<TSelf>>, IProvider<IConvert<TSelf>>, 
	IProvider<IMath<TSelf>>, IProvider<INumericBitConverter<TSelf>>, 
	IProvider<INumericRandom<TSelf>>, IProvider<INumericStatic<TSelf>>, 
	IProvider<IVariantRandom<TSelf>>, ISerializable, IConvertible, IProvider<IConvertExtended<TSelf>>
where TSelf : struct, new(), INumericExtended<TSelf>
Implements
INumericTSelf, IProviderIBinaryIOTSelf, IProviderIConvertTSelf, IProviderIMathTSelf, IProviderINumericBitConverterTSelf, IProviderINumericRandomTSelf, IProviderINumericStaticTSelf, IProviderIVariantRandomTSelf, IProviderIConvertExtendedTSelf, IComparable, IComparableTSelf, IConvertible, IEquatableTSelf, IFormattable, ISerializable

Type Parameters

TSelf
The type that implements INumericExtendedTSelf

Methods

Add Computes the sum of the current value and the specified value.
(Inherited from INumericTSelf)
BitwiseComplement Produces a bitwise complement of the current value by reversing each bit.
(Inherited from INumericTSelf)
CompareTo(T)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparableTSelf)
CompareTo(Object)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparable)
Divide Divides the current value by the specified value.
(Inherited from INumericTSelf)
EqualsIndicates whether the current object is equal to another object of the same type.
(Inherited from IEquatableTSelf)
GetInstance Returns an instance of T.
(Inherited from IProviderT)
GetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ISerializable)
GetTypeCodeReturns the TypeCode for this instance.
(Inherited from IConvertible)
IsGreaterThan Determines whether the current value is greater than the specified value.
(Inherited from INumericTSelf)
IsGreaterThanOrEqualTo Determines whether the current value is greater than or equal to the specified value.
(Inherited from INumericTSelf)
IsLessThan Determines whether the current value is less than the specified value.
(Inherited from INumericTSelf)
IsLessThanOrEqualTo Determines whether the current value is less than or equal to the specified value.
(Inherited from INumericTSelf)
LeftShift

Shifts the current value left by the specified number of bits.

Discards the high-order bits that are outside the range of the result type and sets the low-order empty bit positions to zero.


(Inherited from INumericTSelf)
LogicalAnd Computes the bitwise logical AND of the current value and the specified value.
(Inherited from INumericTSelf)
LogicalExclusiveOr Computes the bitwise logical exclusive OR, also known as the bitwise logical XOR, of the current value and the specified value.
(Inherited from INumericTSelf)
LogicalOr Computes the bitwise logical OR of the current value and the specified value.
(Inherited from INumericTSelf)
Multiply Computes the product of the current value and the specified value.
(Inherited from INumericTSelf)
Negative Computes the numeric negation of the current value.
(Inherited from INumericTSelf)
Positive Returns the current value.
(Inherited from INumericTSelf)
Remainder Computes the remainder after dividing the current value by the specified value.
(Inherited from INumericTSelf)
RightShift

Shifts the current value right by the specified number of bits.

Performs an signed (arithmetic) shift if TSelf is signed; otherwise sets the high-order bits to zero. Discards the low-order bits.


(Inherited from INumericTSelf)
Subtract Subtracts the specified value from the current value.
(Inherited from INumericTSelf)
ToBooleanConverts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToByteConverts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToCharConverts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToDateTimeConverts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToDecimalConverts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToDoubleConverts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToInt16Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToInt32Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToInt64Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToSByteConverts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToSingleConverts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToString(IFormatProvider) Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
(Inherited from INumericTSelf)
ToString(String) Converts the numeric value of this instance to its equivalent string representation, using the specified format.
(Inherited from INumericTSelf)
ToString(String, IFormatProvider)Formats the value of the current instance using the specified format.
(Inherited from IFormattable)
ToTypeConverts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToUInt16Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToUInt32Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
(Inherited from IConvertible)
ToUInt64Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
(Inherited from IConvertible)

Operators

Extension Methods

ToTypeDefault Converts the value of this instance to an Object of the specified Type by calling one of the named conversions from IConvertible, such as ToChar(IFormatProvider) or ToDouble(IFormatProvider).
(Defined by ConvertibleExtensions)

See Also