Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 942 Bytes

int32_min.md

File metadata and controls

46 lines (34 loc) · 942 Bytes

INT32_MIN

  • cstdint[meta header]
  • macro[meta id-type]
  • cpp11[meta cpp]
# define INT32_MIN implementation-defined

概要

int32_t の最小値を表す定数。

ビット数32をNとして、このマクロの値は-(2N-1)である-2147483648となる。

その値の型は、int32_tを整数昇格したものとなる。

なお、このマクロは int32_t が定義されていない場合には定義されない。

#include <iostream>
#include <cstdint>

int main()
{
  std::cout << INT32_MIN << std::endl;
}
  • INT32_MIN[color ff0000]

出力

-2147483648

バージョン

言語

  • C++11

処理系