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

◆ ShiftRightJam() [2/2]

static ulong System.Half.ShiftRightJam ( ulong l,
int dist )
inlinestaticprivate

Definition at line 577 of file Half.cs.

578 {
579 if (dist >= 63)
580 {
581 if (l == 0L)
582 {
583 return 0uL;
584 }
585 return 1uL;
586 }
587 return (l >> dist) | (ulong)((l << -dist != 0L) ? 1 : 0);
588 }

References System.L.