|
static string | FormatDecimal (decimal value, ReadOnlySpan< char > format, NumberFormatInfo info) |
|
static bool | TryFormatDecimal (decimal value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, [Out] int charsWritten) |
|
static string | FormatDouble (double value, string format, NumberFormatInfo info) |
|
static bool | TryFormatDouble (double value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, [Out] int charsWritten) |
|
static string | FormatSingle (float value, string format, NumberFormatInfo info) |
|
static bool | TryFormatSingle (float value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, [Out] int charsWritten) |
|
static string | FormatInt32 (int value, ReadOnlySpan< char > format, IFormatProvider provider) |
|
static bool | TryFormatInt32 (int value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten) |
|
static string | FormatUInt32 (uint value, ReadOnlySpan< char > format, IFormatProvider provider) |
|
static bool | TryFormatUInt32 (uint value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten) |
|
static string | FormatInt64 (long value, ReadOnlySpan< char > format, IFormatProvider provider) |
|
static bool | TryFormatInt64 (long value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten) |
|
static string | FormatUInt64 (ulong value, ReadOnlySpan< char > format, IFormatProvider provider) |
|
static bool | TryFormatUInt64 (ulong value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten) |
|
|
static unsafe char * | UInt32ToDecChars (char *bufferEnd, uint value, int digits) |
|
static char | ParseFormatSpecifier (ReadOnlySpan< char > format, [Out] int digits) |
|
static void | NumberToString (ValueStringBuilder sb, Number.NumberBuffer number, char format, int nMaxDigits, NumberFormatInfo info, bool isDecimal) |
|
static unsafe void | NumberToStringFormat (ValueStringBuilder sb, Number.NumberBuffer number, ReadOnlySpan< char > format, NumberFormatInfo info) |
|
static int | ParseInt32 (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info) |
|
static long | ParseInt64 (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info) |
|
static uint | ParseUInt32 (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info) |
|
static ulong | ParseUInt64 (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info) |
|
static bool | TryParseInt32 (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] int result) |
|
static bool | TryParseInt64 (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] long result) |
|
static bool | TryParseUInt32 (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] uint result) |
|
static bool | TryParseUInt64 (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] ulong result) |
|
static decimal | ParseDecimal (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info) |
|
static double | ParseDouble (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info) |
|
static float | ParseSingle (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info) |
|
static bool | TryParseDecimal (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] decimal result) |
|
static bool | TryParseDouble (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] double result) |
|
static bool | TryParseSingle (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] float result) |
|
static bool | TryStringToNumber (ReadOnlySpan< char > value, NumberStyles styles, Number.NumberBuffer number, NumberFormatInfo info, bool parseDecimal) |
|
|
static void | DecimalToNumber (decimal value, Number.NumberBuffer number) |
|
static string | FormatDouble (ValueStringBuilder sb, double value, ReadOnlySpan< char > format, NumberFormatInfo info) |
|
static string | FormatSingle (ValueStringBuilder sb, float value, ReadOnlySpan< char > format, NumberFormatInfo info) |
|
static bool | TryCopyTo (string source, Span< char > destination, [Out] int charsWritten) |
|
static void | Int32ToNumber (int value, Number.NumberBuffer number) |
|
static string | NegativeInt32ToDecStr (int value, int digits, string sNegative) |
|
static bool | TryNegativeInt32ToDecStr (int value, int digits, string sNegative, Span< char > destination, [Out] int charsWritten) |
|
static string | Int32ToHexStr (int value, char hexBase, int digits) |
|
static bool | TryInt32ToHexStr (int value, char hexBase, int digits, Span< char > destination, [Out] int charsWritten) |
|
static unsafe char * | Int32ToHexChars (char *buffer, uint value, int hexBase, int digits) |
|
static unsafe void | UInt32ToNumber (uint value, Number.NumberBuffer number) |
|
static string | UInt32ToDecStr (uint value, int digits) |
|
static bool | TryUInt32ToDecStr (uint value, int digits, Span< char > destination, [Out] int charsWritten) |
|
static unsafe void | Int64ToNumber (long input, Number.NumberBuffer number) |
|
static string | NegativeInt64ToDecStr (long input, int digits, string sNegative) |
|
static bool | TryNegativeInt64ToDecStr (long input, int digits, string sNegative, Span< char > destination, [Out] int charsWritten) |
|
static string | Int64ToHexStr (long value, char hexBase, int digits) |
|
static bool | TryInt64ToHexStr (long value, char hexBase, int digits, Span< char > destination, [Out] int charsWritten) |
|
static unsafe void | UInt64ToNumber (ulong value, Number.NumberBuffer number) |
|
static string | UInt64ToDecStr (ulong value, int digits) |
|
static bool | TryUInt64ToDecStr (ulong value, int digits, Span< char > destination, [Out] int charsWritten) |
|
static void | FormatCurrency (ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info) |
|
static unsafe void | FormatFixed (ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info, int[] groupDigits, string sDecimal, string sGroup) |
|
static void | FormatNumber (ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info) |
|
static unsafe void | FormatScientific (ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info, char expChar) |
|
static void | FormatExponent (ValueStringBuilder sb, NumberFormatInfo info, int value, char expChar, int minDigits, bool positiveSign) |
|
static void | FormatGeneral (ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info, char expChar, bool bSuppressScientific) |
|
static void | FormatPercent (ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info) |
|
static unsafe void | RoundNumber (Number.NumberBuffer number, int pos) |
|
static int | FindSection (ReadOnlySpan< char > format, int section) |
|
static uint | Low32 (ulong value) |
|
static uint | High32 (ulong value) |
|
static uint | Int64DivMod1E9 (ulong value) |
|
static bool | NumberToInt32 (Number.NumberBuffer number, int value) |
|
static bool | NumberToInt64 (Number.NumberBuffer number, long value) |
|
static bool | NumberToUInt32 (Number.NumberBuffer number, uint value) |
|
static bool | NumberToUInt64 (Number.NumberBuffer number, ulong value) |
|
static unsafe bool | ParseNumber (char *str, char *strEnd, NumberStyles styles, Number.NumberBuffer number, NumberFormatInfo info, bool parseDecimal) |
|
static bool | TryParseInt32IntegerStyle (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] int result, bool failureIsOverflow) |
|
static bool | TryParseInt64IntegerStyle (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] long result, bool failureIsOverflow) |
|
static bool | TryParseUInt32IntegerStyle (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] uint result, bool failureIsOverflow) |
|
static bool | TryParseUInt32HexNumberStyle (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] uint result, bool failureIsOverflow) |
|
static bool | TryParseUInt64IntegerStyle (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] ulong result, bool failureIsOverflow) |
|
static bool | TryParseUInt64HexNumberStyle (ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] ulong result, bool failureIsOverflow) |
|
static bool | NumberBufferToDecimal (Number.NumberBuffer number, decimal value) |
|
static void | StringToNumber (ReadOnlySpan< char > value, NumberStyles styles, Number.NumberBuffer number, NumberFormatInfo info, bool parseDecimal) |
|
static bool | TrailingZeros (ReadOnlySpan< char > value, int index) |
|
static unsafe char * | MatchChars (char *p, char *pEnd, string value) |
|
static bool | IsWhite (int ch) |
|
static bool | IsDigit (int ch) |
|
static void | ThrowOverflowOrFormatException (bool overflow, string overflowResourceKey) |
|
static bool | NumberBufferToDouble (Number.NumberBuffer number, double value) |
|
static unsafe uint | DigitsToInt (char *p, int count) |
|
static ulong | Mul32x32To64 (uint a, uint b) |
|
static ulong | Mul64Lossy (ulong a, ulong b, int pexp) |
|
static int | abs (int value) |
|
static unsafe double | NumberToDouble (Number.NumberBuffer number) |
|
static unsafe void | DoubleToNumber (double value, int precision, Number.NumberBuffer number) |
|
static | Number () |
|
Definition at line 11 of file Number.cs.