Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
GetBits()
static void System.Reflection.Internal.DecimalUtilities.GetBits
(
this decimal
value
,
out
bool
isNegative
,
out byte
scale
,
out uint
low
,
out uint
mid
,
out uint
high
)
inline
static
Definition at line
12
of file
DecimalUtilities.cs
.
13
{
14
Span<int>
destination
= stackalloc
int
[4];
15
decimal.GetBits(
value
,
destination
);
16
low = (uint)
destination
[0];
17
mid = (uint)
destination
[1];
18
high = (uint)
destination
[2];
19
scale = (byte)(
destination
[3] >> 16);
20
isNegative = (
destination
[3] & 0x80000000u) != 0;
21
}
System.ExceptionArgument.value
@ value
System.ExceptionArgument.destination
@ destination
References
System.destination
, and
System.value
.
System
Reflection
Internal
DecimalUtilities
Generated by
1.10.0