Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Is it possible to represent a 48 bit integer?

Hi everybody,

I'm trying to implement a data processing function for a 48 bit integer, so I would like to know if it is possible to deal with 48 bits number in Nios I

I'm working with Altera's standard compiler.

Thanks in advance,

Garrulillo.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think the types "long long" and "unsigned long long" are 64-bit integer types. There's no native 48-bit type, though; everyone just uses 64 bits.