SingleN Structure

Represents a single-precision floating-point number.

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
[SerializableAttribute]
public readonly struct SingleN : INumericExtended<SingleN>, 
	INumeric<SingleN>, IComparable, IComparable<SingleN>, 
	IEquatable<SingleN>, IFormattable, IProvider<IBinaryIO<SingleN>>, 
	IProvider<IConvert<SingleN>>, IProvider<IMath<SingleN>>, 
	IProvider<INumericBitConverter<SingleN>>, IProvider<INumericRandom<SingleN>>, 
	IProvider<INumericStatic<SingleN>>, IProvider<IVariantRandom<SingleN>>, 
	ISerializable, IConvertible, IProvider<IConvertExtended<SingleN>>
Inheritance
Object    ValueType    SingleN
Implements
INumericSingleN, INumericExtendedSingleN, IProviderIBinaryIOSingleN, IProviderIConvertSingleN, IProviderIMathSingleN, IProviderINumericBitConverterSingleN, IProviderINumericRandomSingleN, IProviderINumericStaticSingleN, IProviderIVariantRandomSingleN, IProviderIConvertExtendedSingleN, IComparable, IComparableSingleN, IConvertible, IEquatableSingleN, 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.
INumericSingleNAdd Computes the sum of the current value and the specified value.
INumericSingleNBitwiseComplement Produces a bitwise complement of the current value by reversing each bit.
INumericSingleNDivide Divides the current value by the specified value.
INumericSingleNIsGreaterThan Determines whether the current value is greater than the specified value.
INumericSingleNIsGreaterThanOrEqualTo Determines whether the current value is greater than or equal to the specified value.
INumericSingleNIsLessThan Determines whether the current value is less than the specified value.
INumericSingleNIsLessThanOrEqualTo Determines whether the current value is less than or equal to the specified value.
INumericSingleNLeftShift

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.

INumericSingleNLogicalAnd Computes the bitwise logical AND of the current value and the specified value.
INumericSingleNLogicalExclusiveOr Computes the bitwise logical exclusive OR, also known as the bitwise logical XOR, of the current value and the specified value.
INumericSingleNLogicalOr Computes the bitwise logical OR of the current value and the specified value.
INumericSingleNMultiply Computes the product of the current value and the specified value.
INumericSingleNNegative Computes the numeric negation of the current value.
INumericSingleNPositive Returns the current value.
INumericSingleNRemainder Computes the remainder after dividing the current value by the specified value.
INumericSingleNRightShift

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.

INumericSingleNSubtract Subtracts the specified value from the current value.
IProviderIConvertSingleNGetInstance Returns an instance of T.
IProviderIConvertExtendedSingleNGetInstance Returns an instance of T.
IProviderIMathSingleNGetInstance Returns an instance of T.
IProviderINumericBitConverterSingleNGetInstance Returns an instance of T.
IProviderINumericRandomSingleNGetInstance Returns an instance of T.
IProviderINumericStaticSingleNGetInstance Returns an instance of T.
IProviderIBinaryIOSingleNGetInstance Returns an instance of T.
IProviderIVariantRandomSingleNGetInstance Returns an instance of T.
ISerializableGetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object.

See Also