Re: portable way to get highest bit set?
Anton Shepelev <anton.txt@g{oogle}mail.com> Wed, 11 Oct 2023 12:33:29 +0300
| Newsgroups | comp.lang.c,alt.comp.lang.c |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <20231011123329.086687ffe639d443a6a7adef@g{oogle}mail.com> |
David Brown: > And what types do you want to support? All integer types, > or just some specific ones? The OP's example shows a byte -- an 8-bit value, but I encourage them to try and publish their own solution first. -- () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments