Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToChars() [5/9]

static int System.Xml.XmlConverter.ToChars ( double value,
byte[] buffer,
int offset )
inlinestatic

Definition at line 928 of file XmlConverter.cs.

929 {
930 if (double.IsInfinity(value))
931 {
932 return ToInfinity(double.IsNegativeInfinity(value), buffer, offset);
933 }
934 if (value == 0.0)
935 {
937 }
939 }
static int ToAsciiChars(string s, byte[] buffer, int offset)
static int ToInfinity(bool isNegative, byte[] buffer, int offset)
static unsafe bool IsNegativeZero(float value)

References System.buffer, System.Globalization.NumberFormatInfo.InvariantInfo, System.Xml.XmlConverter.IsNegativeZero(), System.offset, System.Xml.XmlConverter.ToAsciiChars(), System.Xml.XmlConverter.ToInfinity(), System.ToZero, and System.value.