Skip to content

ビルトイン関数を見直しました。#47

Merged
javecs merged 2 commits into
masterfrom
feature/builtin
Apr 18, 2017
Merged

ビルトイン関数を見直しました。#47
javecs merged 2 commits into
masterfrom
feature/builtin

Conversation

@javecs
Copy link
Copy Markdown
Owner

@javecs javecs commented Apr 18, 2017

関数名 説明 結果
sin 指定された角度の正弦(サイン)を返します。 sin(1) 0.8414709848078965
cos 指定された角度の余弦(コサイン)を返します。 cos(1) 0.5403023058681398
tan 指定された角度の正接(タンジェント)を返します。 tan(1) 1.5574077246549023
asin 指定された値の逆正弦(アーク・サイン)を返します。 asin(1) 1.5707963267948966
acos 指定された値の逆余弦(アーク・コサイン)を返します。 acos(0) 1.5707963267948966
atan 指定された値の逆正接(アーク・タンジェント)を返します。 atan(1) 0.7853981633974483
sinh double値の双曲線正弦を返します。 sinh(1) 1.1752011936438014
cosh double値の双曲線余弦を返します。 cosh(1) 1.543080634815244
tanh double値の双曲線正接を返します。 tanh(1) 0.7615941559557649
exp オイラー数eをdouble値で累乗した値を返します。 exp(1) 2.718281828459045
log 指定されたdouble値の自然対数(底はe)を返します。 log(2) 0.6931471805599453
log10 double値の10を底とする対数を返します。 log10(2) 0.3010299956639812
sqrt double値の正しく丸めた正の平方根を返します。 sqrt(2) 0.3010299956639812
rad 度で計測した角度を、相当するラジアンに変換します。 rad(1) 0.017453292519943295
deg ラジアンで計測した角度を、相当する度に変換します。 deg(1) 57.29577951308232

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 18, 2017

Codecov Report

Merging #47 into master will decrease coverage by 0.47%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #47      +/-   ##
============================================
- Coverage     71.97%   71.49%   -0.48%     
  Complexity       67       67              
============================================
  Files             8        8              
  Lines           421      414       -7     
  Branches         42       42              
============================================
- Hits            303      296       -7     
  Misses           73       73              
  Partials         45       45
Impacted Files Coverage Δ Complexity Δ
src/main/kotlin/xyz/javecs/tools/expr/BuiltIn.kt 100% <100%> (ø) 0 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e2b65c...85190ba. Read the comment docs.

@javecs javecs merged commit a906ee9 into master Apr 18, 2017
@javecs javecs deleted the feature/builtin branch April 18, 2017 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant