Using a char value >= 128
Ernesto Castellotti
erny.castell at gmail.com
Sun Oct 27 14:40:16 UTC 2019
On Sunday, 27 October 2019 at 14:36:54 UTC, Ernesto Castellotti
wrote:
> On Sunday, 27 October 2019 at 12:44:05 UTC, Per Nordlöw wrote:
>> [...]
>
> char in D is always unsigned, it is not implementation-specific.
> Therefore it can take values up to (2^8)−1, If you want a
> signed 8 byte type you can use ubyte, which obviously can take
> up from -(2^7) to (2^7)-1
> signed 8 byte
correction: they are obviously 8 bits, not 8 byte
More information about the Digitalmars-d-learn
mailing list