GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • cpprefjp - C++日本語リファレンス
  • GitHub Project

This view

  • Original page
  • New address

GeezerVison is showing cpprefjp.github.io — numbers - cpprefjp C++日本語リファレンス

  1. リファレンス
  2. numbers

最終更新日時: 2019年08月30日 17時59分30秒 (JST)
Akira Takahashi が更新

履歴 編集

<numbers>

numbers(C++20)

<numbers>ヘッダでは、数値に関する機能を定義する。このヘッダの機能は、std::numbers名前空間で定義される。

備考

  • このヘッダで定義される数学定数の変数テンプレートは、標準外のプログラム定義型に対してstd名前空間で明示的特殊化もしくは部分特殊化することが許可される

数学定数

名前 説明 対応バージョン
e ネイピア数e (variable) C++20
log2e eに対する2を底とする対数log2(e) (variable) C++20
log10e eに対する10を底とする対数log10(e) (variable) C++20
pi 円周率π (variable) C++20
inv_pi 円周率の逆数1/π (variable) C++20
inv_sqrtpi 円周率の平方根の逆数1/√π (variable) C++20
ln2 2の自然対数log(2) (variable) C++20
ln10 10の自然対数log(10) (variable) C++20
sqrt2 2の平方根√2 (variable) C++20
sqrt3 3の平方根√3 (variable) C++20
inv_sqrt3 3の平方根の逆数1/√3 (variable) C++20
egamma オイラー定数 γ (variable) C++20
phi 黄金比φ (variable) C++20

バージョン

言語

  • C++20

関連項目

  • <cmath>

参照

  • P0631R8 Math Constants
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.