avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] AVR-GCC variable size


From: dimax un
Subject: Re: [avr-gcc-list] AVR-GCC variable size
Date: Mon, 29 Jan 2007 13:05:18 -0800

Hi what is the
uint_fast8_t ? What is the difference from regular uint8_t?
What gcc version is it supported from?

thanks.


On 1/29/07, Joerg Wunsch <address@hidden> wrote:
"Ricardo Albarracin B." <address@hidden> wrote:

> What's size the: (using avr-gcc 3.4.5)
>
> char  -> 1 byte
> int   -> 2 byte
> short -> ?
> long  -> 4 byte
> float -> ?
> double        -> ?

Well, you could always use the sizeof operator. ;-)

1, 2, 2, 4, 4, 4

There's also long long with 8 bytes.

For integer types, better use the names from <stdint.h>, like uint8_t,
int16_t, uint_fast8_t etc.

--
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list



--
;-------------------------------------------------------
; Micro connection to the MacroVision
; http://www.xdimax.com
;--------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]