Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Numerics.BigNumber Class Reference

Classes

struct  BigNumberBuffer
 

Static Package Functions

static bool TryValidateParseStyleInteger (NumberStyles style, [NotNullWhen(false)] out ArgumentException e)
 
static bool TryParseBigInteger (string value, NumberStyles style, NumberFormatInfo info, out BigInteger result)
 
static bool TryParseBigInteger (ReadOnlySpan< char > value, NumberStyles style, NumberFormatInfo info, out BigInteger result)
 
static BigInteger ParseBigInteger (string value, NumberStyles style, NumberFormatInfo info)
 
static BigInteger ParseBigInteger (ReadOnlySpan< char > value, NumberStyles style, NumberFormatInfo info)
 
static char ParseFormatSpecifier (ReadOnlySpan< char > format, out int digits)
 
static string FormatBigInteger (BigInteger value, string format, NumberFormatInfo info)
 
static bool TryFormatBigInteger (BigInteger value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, out int charsWritten)
 

Static Private Member Functions

static bool HexNumberToBigInteger (ref BigNumberBuffer number, out BigInteger result)
 
static bool NumberToBigInteger (ref BigNumberBuffer number, out BigInteger result)
 
static string FormatBigIntegerToHex (bool targetSpan, BigInteger value, char format, int digits, NumberFormatInfo info, Span< char > destination, out int charsWritten, out bool spanSuccess)
 
static string FormatBigInteger (bool targetSpan, BigInteger value, string formatString, ReadOnlySpan< char > formatSpan, NumberFormatInfo info, Span< char > destination, out int charsWritten, out bool spanSuccess)
 

Static Private Attributes

static readonly uint[] s_uint32PowersOfTen = new uint[10] { 1u, 10u, 100u, 1000u, 10000u, 100000u, 1000000u, 10000000u, 100000000u, 1000000000u }
 

Detailed Description

Definition at line 9 of file BigNumber.cs.


The documentation for this class was generated from the following file: