Skip to content

Commit

Permalink
<cmath> : small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
faithandbrave committed Feb 16, 2023
1 parent be98598 commit 5419582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reference/cmath.md
Expand Up @@ -94,9 +94,9 @@ C++23で`constexpr`対応する関数の条件は以下:
1. 有理数の集合、または実数のどこにも密でない部分集合に作用すると見なされ、関数が閉じていること
2. 関数が丸めモードに強く依存しないこと

[`exp()`](cmath/exp.md)[`sqrt()`](cmath/sqrt.md)[`cos()`](cmath/cos.md)[`sin()`](cmath/sin.md)は1. の条件を満たさないため、C++23では`constexpr`に対応しない。
[`exp()`](cmath/exp.md)[`log()`](cmath/log.md)[`sqrt()`](cmath/sqrt.md)[`cos()`](cmath/cos.md)[`sin()`](cmath/sin.md)は1. の条件を満たさないため、C++23では`constexpr`に対応しない。

[`nearbyint`](cmath/nearbyint.md)は2. の条件を満たさないため、C++23では`constexpr`に対応しない。
[`nearbyint()`](cmath/nearbyint.md)は2. の条件を満たさないため、C++23では`constexpr`に対応しない。

ただし、コンパイラが先行して`constexpr`非対応の関数も対応している可能性がある。

Expand Down

0 comments on commit 5419582

Please sign in to comment.