Help wanted!
The following content of this documentation page has been machine-translated. But unlike other websites, it is not done on the fly. This translated text lives on GitHub repository alongside main ClickHouse codebase and waits for fellow native speakers to make it more human-readable. You can also use the original English version as a reference.
数学関数
すべての関数はFloat64番号を返します。 結果の精度は可能な最大精度に近いですが、結果は対応する実数に最も近い機械表現可能な数と一致しない可能性があります。
e()
数値eに近いFloat64番号を返します。
pi()
Returns a Float64 number that is close to the number π.
exp(x)
数値引数を受け取り、引数の指数に近いFloat64番号を返します。
ログ(x),ln(x)
数値引数を受け取り、引数の自然対数に近いFloat64数を返します。
exp2(x)
数値引数を受け取り、Float64をxの累乗に近い2に近い数値を返します。
log2(x)
数値引数を受け取り、引数のバイナリ対数に近いFloat64数値を返します。
exp10(x)
数値引数を受け取り、Float64のxの累乗に近い10の数値を返します。
log10(x)
数値引数を受け取り、引数の小数対数に近いFloat64数値を返します。
sqrt(x)
数値引数を受け取り、引数の平方根に近いFloat64番号を返します。
cbrt(x)
数値引数を受け取り、引数の三次根に近いFloat64番号を返します。
erf(x)
もし ‘x’ 負でない場合、 erf(x / σ√2)
確率変数が標準偏差を持つ正規分布を持つ確率です ‘σ’ より多くの期待値から分離された値を取ります ‘x’.
例(三シグマ則):
SELECT erf(3 / sqrt(2))
┌─erf(divide(3, sqrt(2)))─┐
│ 0.9973002039367398 │
└─────────────────────────┘
erfc(x)
数値引数を受け取り、Float64の1-erf(x)に近い数値を返します。 ‘x’ 値。
lgamma(x)
ガンマ関数の対数。
tgamma(x)
ガンマ関数
sin(x)
正弦。
cos(x)
コサイン
タン(x)
接線。
asin(x)
アークサイン。
acos(x)
アークコサイン。
アタン(x)
円弧正接。
pow(x,y),power(x,y)
Yの累乗に近いFloat64の数値を返します。
intExp2
数値引数を受け取り、xの累乗に近いUInt64数値を返します。
intExp10
数値引数を受け取り、xの累乗に10に近いUInt64の数値を返します。