タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

c99に関するtakanori_isのブックマーク (3)

  • actual usefulness of uintptr_t, etc.?

  • C data types - Wikipedia

    In the C programming language, data types constitute the semantics and characteristics of storage of data elements. They are expressed in the language syntax in form of declarations for memory locations or variables. Data types also determine the types of operations or methods of processing of data elements. The C language provides basic arithmetic types, such as integer and real number types, and

    C data types - Wikipedia
  • 5.4 整数除算 - プログラミング言語 C の新機能

    5. 整数型 今まで C 言語の整数型は char、short int、int、long int 型がありましたが、今回からこれに加え _Bool 型と long long int 型が使用可能になります。章ではこれら新たに加わった二つの整数型と変更された整数の除算ルールについて説明します。 5.1 _Bool 型 多くの人が使っていたけど、言語仕様の中では規定されていなかった...。今度の新しい C 言語では、それが仕様に取り込まれました。それとは bool 型です。多くの人が bool や _bool, BOOL, Bool などと typedef あるいは define をして使用していますが、とうぜん各人によってその名前はバラバラでした。したがって他人の作ったライブラリを利用するとき定義が衝突したりしり、ソースプログラム上で表記の統一がとれなくなったりして、問題が発生しました。

    takanori_is
    takanori_is 2008/11/24
    C99 なら符号が異なる整数同士の剰余の結果も定義されている
  • 1