8 bit number

Sep 10, 2010 at 7:52am
Is there a 8-bit-size numberic data type? By ''numberic data type'' I mean that I can use this data type in numerical expressions like (a+2)^b or int i=5*a.
Sep 10, 2010 at 8:02am
char and unsigned char.
Sep 10, 2010 at 12:25pm
And signed char.

Just "char" by itself may be signed or unsigned depending on the compiler.
Sep 10, 2010 at 2:19pm
int8_t and uint8_t.
Last edited on Sep 10, 2010 at 2:20pm
Sep 10, 2010 at 2:38pm
For those you must #include <stdint.h>
Sep 11, 2010 at 6:48am
Thank you!
Topic archived. No new replies allowed.