Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are "extended integer types"?

Tags:

c

gcc

c99

Quoting from the book I'm reading:

  1. signed char, signed short int, signed int, signed long int, signed long long int are called standard signed integer types
  2. unsigned char, unsigned short int, unsigned int, unsigned long int, unsigned long long int, _Bool are called standard unsigned integer types
  3. In addition to the standard integer types, the C99 standard allows implementation-defined extended integer types, both signed and unsigned. For example, a compiler might be provide signed and unsigned 128-bit integer types.

I've problem with 3rd point. What are these "extended integer types"? Any examples?

like image 835
claws Avatar asked Nov 15 '12 18:11

claws


1 Answers

Extended integer types are implementation-specific integer types that are provided as an extension. Because almost everything about such extensions is implementation-defined, the standard can’t say much about them. However, a C++09 proposal provides a framework for implementing such extensions in a way that doesn’t interfere with the behavior of standard compliant programs.

you should refer this,which covers everything about extended integer types.

like image 139
joey rohan Avatar answered Oct 19 '22 19:10

joey rohan