Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add trigonometric codes
  • Loading branch information
coke committed Sep 18, 2013
1 parent 7388952 commit 648a121
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/ops.markdown
Expand Up @@ -139,6 +139,38 @@ Return the value of $base raised to $exponent;
* `sqrt_n(num $l, num $r)`
* `sqrt_I(Any $l, Any $r)`

# Trigonometric Opcodes

Each opcode corresponds directly to the trigonmetric function of the same
name. `h` indicates a hyperbolic variant.

## asec
* `asec_n(num $n)`
## asin
* `asin_n(num $n)`
## acos
* `acos_n(num $n)`
## atan
* `atan_n(num $n)`
## atan2
* `atan2_n(num $l, num $r)`
## cos
* `cos_n(num $n)`
## cosh
* `cosh_n(num $n)`
## sin
* `sin_n(num $n)`
## sinh
* `sinh_n(num $n)`
## sec
* `sec_n(num $n)`
## sech
* `sech_n(num $n)`
## tan
* `tan_n(num $n)`
## tanh
* `tanh_n(num $n)`

# String Opcodes

## radix
Expand Down

0 comments on commit 648a121

Please sign in to comment.