LoginSignup
1
0

More than 5 years have passed since last update.

secureCoding > 整数拡張 (integer promotion) | 整数変換の順位 (integer conversion rank) | 通常の算術型変換 (usual arithmetic conversion)

Last updated at Posted at 2015-05-07

引用: C/C++ セキュアコーディング 第2版 by Robert C. Seacordら

C言語規格は、Cコンパイラがどのように変換を行うべきかを定めている。型変換のルールには、整数拡張 (integer promotion)、整数変換の順位 (integer conversion rank)、通常の算術型変換 (usual arithmetic conversion)が含まれる。これらについてそれぞれ見ていこう。

上記の日本訳語が一般に使われるものかどうかには注意が必要。

「整数拡張」は色々なところで使われているのを見てきた。

「通常の算術型変換」はgoogle検索で488件出てきた。これは多いのかどうかよく分からない。

usual arithmetic conversionはconversionsとs付きのほうが検索結果は多い。sあり/the付き/sなし/については冠詞マスター教本を再度勉強しないと。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0