Int16N Structure

Represents a 16-bit signed integer.

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
[SerializableAttribute]
public readonly struct Int16N : INumericExtended<Int16N>, 
	INumeric<Int16N>, IComparable, IComparable<Int16N>, 
	IEquatable<Int16N>, IFormattable, IProvider<IBinaryIO<Int16N>>, 
	IProvider<IConvert<Int16N>>, IProvider<IMath<Int16N>>, 
	IProvider<INumericBitConverter<Int16N>>, IProvider<INumericRandom<Int16N>>, 
	IProvider<INumericStatic<Int16N>>, IProvider<IVariantRandom<Int16N>>, 
	ISerializable, IConvertible, IProvider<IConvertExtended<Int16N>>
Inheritance
Object    ValueType    Int16N
Implements
INumericInt16N, INumericExtendedInt16N, IProviderIBinaryIOInt16N, IProviderIConvertInt16N, IProviderIMathInt16N, IProviderINumericBitConverterInt16N, IProviderINumericRandomInt16N, IProviderINumericStaticInt16N, IProviderIVariantRandomInt16N, IProviderIConvertExtendedInt16N, IComparable, IComparableInt16N, IConvertible, IEquatableInt16N, 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.
INumericInt16NAdd Computes the sum of the current value and the specified value.
INumericInt16NBitwiseComplement Produces a bitwise complement of the current value by reversing each bit.
INumericInt16NDivide Divides the current value by the specified value.
INumericInt16NIsGreaterThan Determines whether the current value is greater than the specified value.
INumericInt16NIsGreaterThanOrEqualTo Determines whether the current value is greater than or equal to the specified value.
INumericInt16NIsLessThan Determines whether the current value is less than the specified value.
INumericInt16NIsLessThanOrEqualTo Determines whether the current value is less than or equal to the specified value.
INumericInt16NLeftShift

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.

INumericInt16NLogicalAnd Computes the bitwise logical AND of the current value and the specified value.
INumericInt16NLogicalExclusiveOr Computes the bitwise logical exclusive OR, also known as the bitwise logical XOR, of the current value and the specified value.
INumericInt16NLogicalOr Computes the bitwise logical OR of the current value and the specified value.
INumericInt16NMultiply Computes the product of the current value and the specified value.
INumericInt16NNegative Computes the numeric negation of the current value.
INumericInt16NPositive Returns the current value.
INumericInt16NRemainder Computes the remainder after dividing the current value by the specified value.
INumericInt16NRightShift

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.

INumericInt16NSubtract Subtracts the specified value from the current value.
IProviderIConvertInt16NGetInstance Returns an instance of T.
IProviderIConvertExtendedInt16NGetInstance Returns an instance of T.
IProviderIMathInt16NGetInstance Returns an instance of T.
IProviderINumericBitConverterInt16NGetInstance Returns an instance of T.
IProviderINumericRandomInt16NGetInstance Returns an instance of T.
IProviderINumericStaticInt16NGetInstance Returns an instance of T.
IProviderIBinaryIOInt16NGetInstance Returns an instance of T.
IProviderIVariantRandomInt16NGetInstance Returns an instance of T.
ISerializableGetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object.

See Also