16 references to s_ulInt32Base
System.Data.Common (16)
System\Data\SQLTypes\SQLDecimal.cs (16)
59
private const ulong s_ulInt32BaseForMod =
s_ulInt32Base
- 1; // 2**32 - 1 (0xFFF...FF)
1322
Debug.Assert(dwlAccum <
s_ulInt32Base
);
1352
dwlAccum =
s_ulInt32Base
;
1513
dwlNextAccum =
s_ulInt32Base
; // = maxUI64/x_dwlBaseUI4
1522
Debug.Assert(dwlAccum <
s_ulInt32Base
* 2);
1525
Debug.Assert(dwlAccum <
s_ulInt32Base
); // can never final accum > 1 more UI4
2146
Debug.Assert(dwlAccum <
s_ulInt32Base
, "dwlAccum < x_lInt32Base", "");
2175
Debug.Assert(dwlAccum <
s_ulInt32Base
);
2181
dwlNextAccum =
s_ulInt32Base
; // how much to add to dwlAccum after div x_dwlBaseUI4
2192
Debug.Assert(dwlAccum <
s_ulInt32Base
, "dwlAccum < x_dwlBaseUI4", "Integer overflow");
2246
Debug.Assert((dwlAccum / dwlDivisor) <
s_ulInt32Base
);
2273
Debug.Assert(dwlAccum <
s_ulInt32Base
);
2682
D1 = (uint)(
s_ulInt32Base
/ ((ulong)ulDHigh + 1));
2701
QH = (uint)(
s_ulInt32Base
- 1);
2717
for (dwlAccum =
s_ulInt32Base
, dwlMulAccum = 0, iulDindex = 0, iulRwork = iulRindex - ciulD;
2725
dwlAccum = HI(dwlAccum) +
s_ulInt32Base
- 1;