Welcome to My Public Vault

Home

❯

数値昇格

数値昇格

Apr 15, 20261 min read

  • CPlusPlus

Numeric promotion。値を保ったまま、より広い標準数値型へ昇格する標準変換。 数値変換とは異なるもの。

全ての数値昇格は**値保持変換(value-preserving conversion / safe conversion)**であり、変換前後で値は変わらない。

数値昇格は、整数昇格と浮動小数点昇格がある。

参考

  • https://www.learncpp.com/cpp-tutorial/floating-point-and-integral-promotion/

Graph View

Backlinks

  • C++(Roadmap)
  • 数値変換
  • 数値昇格
  • 標準変換
  • 通常の算術変換

Created with Quartz v4.5.2 © 2026

  • GitHub
  • Discord Community