Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.3 KB

llong_min.md

File metadata and controls

45 lines (33 loc) · 1.3 KB

#LLONG_MIN

  • climits[meta header]
  • macro[meta id-type]
  • cpp11[meta cpp]
#define LLONG_MIN implementation-defined

##概要 long long 型が表現できる値の最小値。

std::numeric_limits<long long>::min() と等しいが、LLONG_MIN#if などのプリプロセッサディレクティブで使用できる。

具体的な値は実装依存であるが、-9223372036854775807(-(263 - 1))以下であることが規格で定められている。このマクロによって定義される値の型は long long である。

##例

#include <climits>
#include <iostream>

int main()
{
  std::cout << LLONG_MIN << '\n';
}

###出力例

-9223372036854775808

##バージョン ###言語

  • C++11

###処理系

  • Clang: 3.0, 3.1, 3.2, 3.3, 3.4
  • GCC: 4.3.6, 4.4.7, 4.5.3, 4.5.4, 4.6.4, 4.7.3, 4.8.1, 4.8.2, 4.9.0
  • GCC, C++11 mode: 4.3.6, 4.4.7, 4.5.3, 4.5.4, 4.6.4, 4.7.3, 4.8.1, 4.8.2, 4.9.0
  • ICC: ??
  • Visual C++: 8.0, 9.0, 10.0