Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Are Spans limited to 32 bits then?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: