3 ms·
Can't overflow? Is a Span of byte (0-255) being added to a ulong(0-1.8e+19) The maximum value it can produce is much less than a ulong: 2^31 * 255 = 547608330
by benaadams 9y ago
Can't overflow?
Is a Span of byte (0-255) being added to a ulong(0-1.8e+19)
The maximum value it can produce is much less than a ulong:
2^31 * 255 = 547608330240
- fulafel 9y agoAre Spans limited to 32 bits then?