UInt16M Structure

Represents a 16-bit unsigned integer that cannot overflow.

Definition

Namespace: Jodosoft.Numerics.Clamped
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
[SerializableAttribute]
public readonly struct UInt16M : INumericExtended<UInt16M>, 
	INumeric<UInt16M>, IComparable, IComparable<UInt16M>, 
	IEquatable<UInt16M>, IFormattable, IProvider<IBinaryIO<UInt16M>>, 
	IProvider<IConvert<UInt16M>>, IProvider<IMath<UInt16M>>, 
	IProvider<INumericBitConverter<UInt16M>>, IProvider<INumericRandom<UInt16M>>, 
	IProvider<INumericStatic<UInt16M>>, IProvider<IVariantRandom<UInt16M>>, 
	ISerializable, IConvertible, IProvider<IConvertExtended<UInt16M>>
Inheritance
Object    ValueType    UInt16M
Implements
INumericUInt16M, INumericExtendedUInt16M, IProviderIBinaryIOUInt16M, IProviderIConvertUInt16M, IProviderIMathUInt16M, IProviderINumericBitConverterUInt16M, IProviderINumericRandomUInt16M, IProviderINumericStaticUInt16M, IProviderIVariantRandomUInt16M, IProviderIConvertExtendedUInt16M, IComparable, IComparableUInt16M, IConvertible, IEquatableUInt16M, IFormattable, ISerializable

Methods

Operators

Fields

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)

Explicit Interface Implementations

IConvertibleGetTypeCodeReturns the TypeCode for this instance.
IConvertibleToBooleanConverts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
IConvertibleToByteConverts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
IConvertibleToCharConverts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
IConvertibleToDateTimeConverts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
IConvertibleToDecimalConverts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
IConvertibleToDoubleConverts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
IConvertibleToInt16Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
IConvertibleToInt32Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
IConvertibleToInt64Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
IConvertibleToSByteConverts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
IConvertibleToSingleConverts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
IConvertibleToTypeConverts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.
IConvertibleToUInt16Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
IConvertibleToUInt32Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
IConvertibleToUInt64Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
INumericUInt16MAdd Computes the sum of the current value and the specified value.
INumericUInt16MBitwiseComplement Produces a bitwise complement of the current value by reversing each bit.
INumericUInt16MDivide Divides the current value by the specified value.
INumericUInt16MIsGreaterThan Determines whether the current value is greater than the specified value.
INumericUInt16MIsGreaterThanOrEqualTo Determines whether the current value is greater than or equal to the specified value.
INumericUInt16MIsLessThan Determines whether the current value is less than the specified value.
INumericUInt16MIsLessThanOrEqualTo Determines whether the current value is less than or equal to the specified value.
INumericUInt16MLeftShift

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.

INumericUInt16MLogicalAnd Computes the bitwise logical AND of the current value and the specified value.
INumericUInt16MLogicalExclusiveOr Computes the bitwise logical exclusive OR, also known as the bitwise logical XOR, of the current value and the specified value.
INumericUInt16MLogicalOr Computes the bitwise logical OR of the current value and the specified value.
INumericUInt16MMultiply Computes the product of the current value and the specified value.
INumericUInt16MNegative Computes the numeric negation of the current value.
INumericUInt16MPositive Returns the current value.
INumericUInt16MRemainder Computes the remainder after dividing the current value by the specified value.
INumericUInt16MRightShift

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.

INumericUInt16MSubtract Subtracts the specified value from the current value.
IProviderIConvertUInt16MGetInstance Returns an instance of T.
IProviderIConvertExtendedUInt16MGetInstance Returns an instance of T.
IProviderIMathUInt16MGetInstance Returns an instance of T.
IProviderINumericBitConverterUInt16MGetInstance Returns an instance of T.
IProviderINumericRandomUInt16MGetInstance Returns an instance of T.
IProviderINumericStaticUInt16MGetInstance Returns an instance of T.
IProviderIBinaryIOUInt16MGetInstance Returns an instance of T.
IProviderIVariantRandomUInt16MGetInstance Returns an instance of T.
ISerializableGetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object.

See Also