16-bit unsigned short integers that range from 0 through 0xFFFF
16-bit unsigned short integers that range from 0 to 0xFFFF
Which expression is better above?
Therefore, the writer has precedence and may assign the intended meaning if he or she feels it is necessary.
Here are some alternatives: from x up to and including y; starting from x ending in/with y; from x, not exceeding y; from x through to y, inclusive.
If you consider through as short for through to ("through beyond" wouldn't make sense), it becomes apparent why British English does not include y. However, if you look at through independently, you could imagine it passing the ending argument, as a thread passes through a needle.
In British English, "to" can be both inclusive and exclusive. "Through" isn't usually used in this way.
In American English, "through" is inclusive.
So it depends on your audience. To be safe, use something unambiguous: "through to", or "up to and including", or "to X, inclusive".
As a Brit, I would never say Monday through Friday to mean including Friday or not including Friday. I would say Monday to Friday to include Friday. If I meant to exclude Friday I'd say Monday to Thursday. To me through means to some time later. I might therefore say Monday through to Friday meaning throught the week until (and including) Friday but the through seems redundant. As a mathematician I'd use 'to': 1 to 9 (inclusive or exclusive as the case may be), or more technical terms stating whether the set was open at either end.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?