add tangens function
This commit is contained in:
parent
7ef387cc0a
commit
d1df1132c6
1 changed files with 2 additions and 0 deletions
|
@ -11,5 +11,7 @@ var asin = func(y) { atan2(y, sqrt(1-y*y)) }
|
|||
|
||||
var acos = func(x) { atan2(sqrt(1-x*x), x) }
|
||||
|
||||
var tan = func(x) sin(x) / (cos(x) or die("tangens infinity"));
|
||||
|
||||
var _iln10 = 1/ln(10);
|
||||
var log10 = func(x) { ln(x) * _iln10; }
|
||||
|
|
Loading…
Add table
Reference in a new issue