Skip to content

Int24 ​

Kind: Struct

Namespace: ConnectorLib

Inheritance: IAdditionOperators<Int24, Int24, Int24> → IAdditiveIdentity<Int24, Int24> → IBinaryInteger\<Int24\> → IBinaryNumber\<Int24\> → IBitwiseOperators<Int24, Int24, Int24> → IComparable → IComparable\<Int24\> → IComparisonOperators<Int24, Int24, bool> → IConvertible → IDecrementOperators\<Int24\> → IDivisionOperators<Int24, Int24, Int24> → IEqualityOperators<Int24, Int24, bool> → IEquatable\<Int24\> → IFormattable → IIncrementOperators\<Int24\> → IMinMaxValue\<Int24\> → IModulusOperators<Int24, Int24, Int24> → IMultiplicativeIdentity<Int24, Int24> → IMultiplyOperators<Int24, Int24, Int24> → INumber\<Int24\> → INumberBase\<Int24\> → IParsable\<Int24\> → IShiftOperators<Int24, int, Int24> → ISignedNumber\<Int24\> → ISpanFormattable → ISpanParsable\<Int24\> → ISubtractionOperators<Int24, Int24, Int24> → IUnaryNegationOperators<Int24, Int24> → IUnaryPlusOperators<Int24, Int24> → IUtf8SpanFormattable → IUtf8SpanParsable\<Int24\>

Public Constructors

Int24(sbyte value)

Int24(byte value)

Int24(short value)

Int24(ushort value)

Int24(int value)

Int24(uint value)

Int24(long value)

Int24(ulong value)

Int24(float value)

Int24(double value)

Int24(int value, bool checked)

Int24(uint value, bool checked)

Int24(long value, bool checked)

Int24(ulong value, bool checked)

Int24(float value, bool checked)

Int24(double value, bool checked)

Public Member Functions

int

CompareTo(object value)

int

CompareTo(Int24 value)

virtual override

bool

Equals(object obj)

bool

Equals(Int24 obj)

virtual override

int

GetHashCode()

virtual override

string

ToString()

string

ToString(IFormatProvider provider)

string

ToString(string format)

string

ToString(string format, IFormatProvider provider)

bool

TryFormat(Span destination, int out charsWritten, ReadOnlySpan format = null, IFormatProvider provider = null)

bool

TryFormat(Span utf8Destination, int out bytesWritten, ReadOnlySpan format = null, IFormatProvider provider = null)

TypeCode

GetTypeCode()

int

HammingWeight(Int24 value)

Public Static Functions

Int24

Parse(string s)

Int24

Parse(string s, NumberStyles style)

Int24

Parse(string s, IFormatProvider provider)

Int24

Parse(string s, NumberStyles style, IFormatProvider provider)

Int24

Parse(ReadOnlySpan s, NumberStyles style = Integer, IFormatProvider provider = null)

bool

TryParse(string s, Int24 out result)

Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit signed integer equivalent.

bool

TryParse(ReadOnlySpan s, Int24 out result)

Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit signed integer equivalent.

bool

TryParse(ReadOnlySpan utf8Text, Int24 out result)

Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit signed integer equivalent.

bool

TryParse(string s, NumberStyles style, IFormatProvider provider, Int24 out result)

Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit signed integer equivalent.

bool

TryParse(ReadOnlySpan s, NumberStyles style, IFormatProvider provider, Int24 out result)

Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit signed integer equivalent.

ValueTuple

DivRem(Int24 left, Int24 right)

Int24

LeadingZeroCount(Int24 value)

Int24

PopCount(Int24 value)

Int24

RotateLeft(Int24 value, int rotateAmount)

Int24

RotateRight(Int24 value, int rotateAmount)

Int24

TrailingZeroCount(Int24 value)

bool

TryReadBigEndian(ReadOnlySpan source, bool isUnsigned, Int24 out value)

bool

TryReadLittleEndian(ReadOnlySpan source, bool isUnsigned, Int24 out value)

bool

IsPow2(Int24 value)

Int24

Log2(Int24 value)

Int24

Clamp(Int24 value, Int24 min, Int24 max)

Int24

Clamp(Int24 value, int min, int max)

Int24

Clamp(int value, Int24 min, Int24 max)

Int24

CopySign(Int24 value, Int24 sign)

Int24

Max(Int24 x, Int24 y)

Int24

Min(Int24 x, Int24 y)

int

Sign(Int24 value)

Int24

Abs(Int24 value)

Int24

CreateChecked<TOther>(TOther value)

Int24

CreateSaturating<TOther>(TOther value)

Int24

CreateTruncating<TOther>(TOther value)

bool

IsEvenInteger(Int24 value)

bool

IsNegative(Int24 value)

bool

IsOddInteger(Int24 value)

bool

IsPositive(Int24 value)

Int24

MaxMagnitude(Int24 x, Int24 y)

Int24

MinMagnitude(Int24 x, Int24 y)

bool

TryParse(string s, IFormatProvider provider, Int24 out result)

Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit signed integer equivalent.

Int24

Parse(ReadOnlySpan s, IFormatProvider provider)

bool

TryParse(ReadOnlySpan s, IFormatProvider provider, Int24 out result)

Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit signed integer equivalent.

Int24

Parse(ReadOnlySpan utf8Text, NumberStyles style = Integer, IFormatProvider provider = null)

bool

TryParse(ReadOnlySpan utf8Text, NumberStyles style, IFormatProvider provider, Int24 out result)

Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit signed integer equivalent.

Int24

Parse(ReadOnlySpan utf8Text, IFormatProvider provider)

bool

TryParse(ReadOnlySpan utf8Text, IFormatProvider provider, Int24 out result)

Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit signed integer equivalent.

Properties

static

Int24

MaxValue

[get, ]

static

Int24

MinValue

[get, ]

static

Int24

AdditiveIdentity

[get, ]

Represents the additive identity (0).

static

Int24

MultiplicativeIdentity

[get, ]

Represents the multiplicative identity (1).

static

Int24

One

[get, ]

Represents the number one (1).

static

Int24

Zero

[get, ]

Represents the number zero (0).

static

Int24

NegativeOne

[get, ]

Represents the number negative one (-1).